Open Bug 1093504 Opened 7 years ago Updated 6 years ago

Model Reflect.parse AST of function parameters similar to destructuring ArrayPattern

Categories

(Core :: JavaScript Engine, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

People

(Reporter: Swatinem, Unassigned)

References

(Blocks 1 open bug)

Details

While the specific AST for destructuring with defaults is not decided yet, there is a desire to move function parameters closer to destructuring ArrayPattern.

Especially, the "defaults" and "rest" properties should die in favor of a default in each parameter and a "SpreadPattern" or "RestElement" for the "rest".
Blocks: es6
Blocks: 1173387
No longer blocks: es6
You need to log in before you can comment on or make changes to this bug.