TypeScript/tests/cases/compiler/letInVarDeclOfForOf_ES6.ts

9 lines
113 B
TypeScript
Raw Normal View History

2015-12-02 22:43:06 +01:00
// @target: es6
// should not be an error
for (var let of [1,2,3]) {}
{
for (var let of [1,2,3]) {}
}