31 lines
309 B
TypeScript
31 lines
309 B
TypeScript
//// [shadowingViaLocalValue.ts]
|
|
{
|
|
let x;
|
|
{
|
|
var x = 1;
|
|
}
|
|
}
|
|
|
|
{
|
|
let x1;
|
|
{
|
|
for (var x1 = 0; ;);
|
|
}
|
|
}
|
|
|
|
|
|
|
|
//// [shadowingViaLocalValue.js]
|
|
{
|
|
var x_1;
|
|
{
|
|
var x = 1;
|
|
}
|
|
}
|
|
{
|
|
var x1_1;
|
|
{
|
|
for (var x1 = 0;;)
|
|
;
|
|
}
|
|
}
|