diff options
Diffstat (limited to 'js/src/jit-test/tests/basic/constGlobalAssignError.js')
-rw-r--r-- | js/src/jit-test/tests/basic/constGlobalAssignError.js | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/basic/constGlobalAssignError.js b/js/src/jit-test/tests/basic/constGlobalAssignError.js new file mode 100644 index 000000000..87c7b78f0 --- /dev/null +++ b/js/src/jit-test/tests/basic/constGlobalAssignError.js @@ -0,0 +1,3 @@ +// |jit-test| error: TypeError + +const x = 1; x = 2; |