Test scopes with variables in TDZ. | |
Debug break | |
Scope type: block | |
blockLet : undefined | |
blockConst : undefined | |
contextBlockLet : undefined | |
contextBlockConst : undefined | |
Scope type: script | |
scriptLet : undefined | |
scriptConst : undefined | |
Debug break | |
Scope type: local | |
Scope type: block | |
contextBlockLet : undefined | |
contextBlockConst : undefined | |
Scope type: script | |
scriptLet : undefined | |
scriptConst : undefined | |
Debug break | |
Scope type: block | |
blockLet : 1 | |
blockConst : 2 | |
contextBlockLet : 3 | |
contextBlockConst : 4 | |
Scope type: script | |
scriptLet : undefined | |
scriptConst : undefined | |
Debug break | |
Scope type: local | |
Scope type: block | |
contextBlockLet : 3 | |
contextBlockConst : 4 | |
Scope type: script | |
scriptLet : undefined | |
scriptConst : undefined | |
Debug break | |
Scope type: script | |
scriptLet : undefined | |
scriptConst : undefined | |
Debug break | |
Scope type: local | |
Scope type: script | |
scriptLet : undefined | |
scriptConst : undefined | |
Debug break | |
Scope type: script | |
scriptLet : 1 | |
scriptConst : 2 | |
Debug break | |
Scope type: local | |
Scope type: script | |
scriptLet : 1 | |
scriptConst : 2 |