Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6 7
"use strict"; // run code in ES5 strict mode function doSomethingUnstrict() { var caller = arguments.callee.caller; // this should throw an error as a proof that strict mode is on } exports.doSomethingUnstrict = doSomethingUnstrict;