TypeScript/tests/cases/compiler/nestedLoopWithOnlyInnerLetCaptured.ts

6 lines
129 B
TypeScript

// @target: es5
declare let doSomething;
for (let a1 of [])
for (let a2 of a1.someArray)
doSomething(() => a2);