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

9 lines
113 B
TypeScript

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