Files
Nicolò RibaudoandGitHub 9b47dfb8f4 Register switch's discriminant in the outer scope (#15167)
* Add failing test

* Register `switch`'s `discriminant` in the outer scope
2022-11-09 16:10:55 +01:00

4 lines
33 B
JavaScript

switch (x) {
default: let x;
}