summaryrefslogtreecommitdiff
path: root/tests/specs/run/_038_checkjs/038_checkjs.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/run/_038_checkjs/038_checkjs.js')
-rw-r--r--tests/specs/run/_038_checkjs/038_checkjs.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/specs/run/_038_checkjs/038_checkjs.js b/tests/specs/run/_038_checkjs/038_checkjs.js
new file mode 100644
index 000000000..f0856d94c
--- /dev/null
+++ b/tests/specs/run/_038_checkjs/038_checkjs.js
@@ -0,0 +1,5 @@
+// console.log intentionally misspelled to trigger a type error
+consol.log("hello world!");
+
+// the following error should be ignored and not output to the console
+const foo = new Foo();