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

19 lines
194 B
JavaScript

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