Brian Ng 14b7f50e51 Fix rest parameters with array and objects (#424)
* Fix rest parameters with array and objects

* Add test for array rest  with object

* reuse parseBindingIdentifier
2017-04-03 22:27:43 +02:00

2 lines
49 B
JavaScript

function singleElementWithObject(...[{p: q}]) {}