Debian Codegraph @

packages/babel-plugin-transform-block-scoping/test/fixtures/exec/for-continuation.js

raw symbols SCIP
1 var fns = [];
2
3 for (let i = 0; i < 10; i++) {
4 fns.push(function () { return i; });
5 i += 1;
6 }
7
8 expect(fns[0]()).toBe(1);
9 expect(fns[1]()).toBe(3);
10 expect(fns[2]()).toBe(5);
11 expect(fns[3]()).toBe(7);
12 expect(fns[4]()).toBe(9);