Fix rest parameters with array and objects (#424)
* Fix rest parameters with array and objects * Add test for array rest with object * reuse parseBindingIdentifier
This commit is contained in:
committed by
Daniel Tschinder
parent
22741a8068
commit
14b7f50e51
1
test/fixtures/test262/rest-parameter/array-pattern-single-element-with-object/actual.js
vendored
Normal file
1
test/fixtures/test262/rest-parameter/array-pattern-single-element-with-object/actual.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
function singleElementWithObject(...[{p: q}]) {}
|
||||
Reference in New Issue
Block a user