Files
react/compiler/crates/react_hermes_parser/tests/fixtures/destructuring.js
2024-04-02 16:49:31 -07:00

20 lines
218 B
JavaScript

function foo(a, b, c) {
const [
d,
[
{
e: { f },
...g
},
],
...h
] = a;
const {
l: {
m: [[n], ...o],
},
p,
} = b;
return [d, f, g, h, n, o, p];
}