aboutsummaryrefslogtreecommitdiff
path: root/test/script/basic/es6/lexical-toplevel.js.EXPECTED
blob: 7580af4fe00a119181f4fe2cd0b24c62cc77096f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
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"