TypeScript/tests/cases/compiler/letInVarDeclOfForIn_ES5.ts
2015-12-02 13:43:06 -08:00

9 lines
113 B
TypeScript

// @target: es5
// should not be an error
for (var let in [1,2,3]) {}
{
for (var let in [1,2,3]) {}
}