Debian Codegraph @

packages/babel-plugin-proposal-object-rest-spread/test/fixtures/object-rest/for-x-array-pattern/input.js

raw
1 // ForXStatement
2 for (const [{a, ...b}] of []) {}
3 for ([{a, ...b}] of []) {}
4 async function a() {
5 for await ([{a, ...b}] of []) {}
6 }
7
8 // skip
9 for ([{a}] in {}) {}
10 for ([{a}] of []) {}
11 async function a() {
12 for await ([{a}] of []) {}
13 }
14
15 for ([a, ...b] in {}) {}
16 for ([a, ...b] of []) {}
17 async function a() {
18 for await ([a, ...b] of []) {}
19 }