strisct not js code example
Example 1: use strict javascript
// File: myscript.js
'use strict';
var a = 2;
....
Example 2: use strict javascript
// Non-strict code...
(function(){
"use strict";
// Define your library strictly...
})();
// Non-strict code...