aboutsummaryrefslogtreecommitdiff
path: root/test/script/basic/es6/lexical-toplevel.js.EXPECTED
diff options
context:
space:
mode:
Diffstat (limited to 'test/script/basic/es6/lexical-toplevel.js.EXPECTED')
-rw-r--r--test/script/basic/es6/lexical-toplevel.js.EXPECTED32
1 files changed, 32 insertions, 0 deletions
diff --git a/test/script/basic/es6/lexical-toplevel.js.EXPECTED b/test/script/basic/es6/lexical-toplevel.js.EXPECTED
new file mode 100644
index 00000000..7580af4f
--- /dev/null
+++ b/test/script/basic/es6/lexical-toplevel.js.EXPECTED
@@ -0,0 +1,32 @@
+VAR
+LET
+CONST
+function FUNC() {}
+GLOBAL
+VAR
+undefined
+undefined
+function FUNC() {}
+GLOBAL
+true
+false
+false
+true
+true
+TypeError: Assignment to constant "CONST"
+VAR
+LETLET
+CONST
+function FUNC() {}
+GLOBAL
+VAR
+undefined
+undefined
+function FUNC() {}
+GLOBAL
+true
+false
+false
+true
+true
+TypeError: Assignment to constant "CONST"