Skip to content

Instantly share code, notes, and snippets.

// strict check
//
function strict () {
'use strict';
var isStrict = (function () { return typeof this === 'undefined'; }());
console.log(isStrict);
}
function nonStrict () {