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
71 B
JavaScript

function multiElementWithInitializer(...{a: r = 0, b: s, c: t = 1}) {}