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 'testLib/implicitGlobal.js')
-rw-r--r--testLib/implicitGlobal.js6
1 files changed, 6 insertions, 0 deletions
diff --git a/testLib/implicitGlobal.js b/testLib/implicitGlobal.js
new file mode 100644
index 0000000..3048742
--- /dev/null
+++ b/testLib/implicitGlobal.js
@@ -0,0 +1,6 @@
+implicitGlobal = "this is an implicit global var ..." +
+ "yes, it's bad coding style but there are still some libs out there";
+
+module.exports = function () {
+ return undefinedImplicitGlobal;
+};