summaryrefslogtreecommitdiffhomepage
path: root/test/njs/global_this/script.js
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--test/njs/global_this/script.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/njs/global_this/script.js b/test/njs/global_this/script.js
new file mode 100644
index 00000000..cf9bc078
--- /dev/null
+++ b/test/njs/global_this/script.js
@@ -0,0 +1,3 @@
+export default {
+ "str" : function () {return typeof globalThis.njs.version}
+}