Tan Li Hau 8027dca501 fix object rest in array pattern (#10275)
* fix object rest in array pattern

* update test fixtures

* early return

* use path.stop() at the right path
2019-09-10 15:18:45 +02:00

7 lines
73 B
JavaScript

const [a, {b, ...c}] = x;
let [d, {e, ...f}] = x;
[g, {h, ...i}] = x;