nashorn/test/script/basic/es6/lexical-toplevel.js.EXPECTED
author hannesw
Thu, 27 Nov 2014 16:42:53 +0100
changeset 27817 56f6161c3e55
parent 27814 96427359f4fe
permissions -rw-r--r--
8057980: let & const: remaining issues with lexical scoping Reviewed-by: lagergren, attila

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"