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

6 lines
45 B
JavaScript

var x;
switch (x) {
default:
var _x;
}