diff options
Diffstat (limited to 'lib/testModules/strictModule.js')
-rw-r--r-- | lib/testModules/strictModule.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/testModules/strictModule.js b/lib/testModules/strictModule.js deleted file mode 100644 index 5d6e387..0000000 --- a/lib/testModules/strictModule.js +++ /dev/null @@ -1,7 +0,0 @@ -"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;
\ No newline at end of file |