Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rewire.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/testModules/strictModule.js')
-rw-r--r--lib/testModules/strictModule.js7
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