TypeScript/tests/baselines/reference/nestedBlockScopedBindings9.js
2016-01-20 15:23:46 -08:00

24 lines
342 B
TypeScript

//// [nestedBlockScopedBindings9.ts]
{
let x;
() => x;
}
switch (1) {
case 1:
let y;
() => y;
break;
}
//// [nestedBlockScopedBindings9.js]
{
var x_1;
(function () { return x_1; });
}
switch (1) {
case 1:
var y_1;
(function () { return y_1; });
break;
}