Bug Fixes
-
The body of switch statement is a block scope (#67)
In this example:
switch (3) { case 3: let a; } a; // this 'a' is a global
The
a
at the bottom is global, even though a variable calleda
was declared inside the switch statement.
The body of switch statement is a block scope (#67)
In this example:
switch (3) {
case 3:
let a;
}
a; // this 'a' is a global
The a
at the bottom is global, even though a variable called a
was declared inside the switch statement.