2014-11-21 17:44:57 +01:00
|
|
|
VAR
|
|
|
|
LET
|
|
|
|
CONST
|
|
|
|
function FUNC() {}
|
|
|
|
GLOBAL
|
|
|
|
VAR
|
|
|
|
undefined
|
|
|
|
undefined
|
|
|
|
function FUNC() {}
|
|
|
|
GLOBAL
|
|
|
|
true
|
|
|
|
false
|
|
|
|
false
|
|
|
|
true
|
|
|
|
true
|
2014-11-27 16:42:53 +01:00
|
|
|
TypeError: Assignment to constant "CONST"
|
2014-11-21 17:44:57 +01:00
|
|
|
VAR
|
|
|
|
LETLET
|
|
|
|
CONST
|
|
|
|
function FUNC() {}
|
|
|
|
GLOBAL
|
|
|
|
VAR
|
|
|
|
undefined
|
|
|
|
undefined
|
|
|
|
function FUNC() {}
|
|
|
|
GLOBAL
|
|
|
|
true
|
|
|
|
false
|
|
|
|
false
|
|
|
|
true
|
|
|
|
true
|
2014-11-27 16:42:53 +01:00
|
|
|
TypeError: Assignment to constant "CONST"
|