1 top level function 2 block function 3 print local defs: 20 30 4 imported var: 1 5 imported let: 2 6 imported const: 3 7 top level function 8 ReferenceError: "block" is not defined |
1 top level function
2 block function
3 print local defs: 20 30
4 imported var: 1
5 imported let: 2
6 imported const: 3
7 top level function
8 ReferenceError: "block" is not defined
9 TypeError: Assignment to constant "c"
|