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 'test/testModules/strictModule.js')
-rw-r--r--test/testModules/strictModule.js7
1 files changed, 0 insertions, 7 deletions
diff --git a/test/testModules/strictModule.js b/test/testModules/strictModule.js
deleted file mode 100644
index 140dd2a..0000000
--- a/test/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