diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2014-11-22 16:59:48 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2014-11-22 17:23:30 +0100 |
commit | 21130c7d6fcaee666f33735768c060be2e06614a (patch) | |
tree | 0148a92dd9e6fb13ab6fac3311bd96d926f313fc /lib/assert.js | |
parent | 963f5e8a886841d69e79fdc46aaa0010126408e8 (diff) | |
download | android-node-v8-21130c7d6fcaee666f33735768c060be2e06614a.tar.gz android-node-v8-21130c7d6fcaee666f33735768c060be2e06614a.tar.bz2 android-node-v8-21130c7d6fcaee666f33735768c060be2e06614a.zip |
lib: turn on strict mode
Turn on strict mode for the files in the lib/ directory. It helps
catch bugs and can have a positive effect on performance.
PR-URL: https://github.com/node-forward/node/pull/64
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Fedor Indutny <fedor@indutny.com>
Diffstat (limited to 'lib/assert.js')
-rw-r--r-- | lib/assert.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/assert.js b/lib/assert.js index c83f977a25..a05a487288 100644 --- a/lib/assert.js +++ b/lib/assert.js @@ -22,6 +22,8 @@ // ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. +'use strict'; + // UTILITY var util = require('util'); var pSlice = Array.prototype.slice; |