Debian Codegraph @

packages/babel-plugin-transform-for-of/test/fixtures/loose-allowArrayLike/holes/exec.js

raw symbols SCIP
1 var p2 = { 0: "a", 2: "c", length: 3 };
2
3 var arr = [];
4 for (var x of p2) arr.push(x);
5
6 expect(arr).toEqual(["a", undefined, "c"]);
7 expect(1 in arr).toBe(true); // Not holey