Files
babel/test/fixtures/test262/rest-parameter/array-pattern-single-element-with-object/actual.js
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}]) {}