Closed
Bug 1204029
Opened 9 years ago
Closed 9 years ago
Don't allow trailing comma in destructuring array
Categories
(Core :: JavaScript Engine, defect)
Core
JavaScript Engine
Tracking
()
RESOLVED
DUPLICATE
of bug 1041341
Tracking | Status | |
---|---|---|
firefox43 | --- | affected |
People
(Reporter: anba, Unassigned)
Details
Tests cases: --- var [...a, ] = []; [...a, ] = []; --- Expected: Throws SyntaxError Actual: No SyntaxError ES2015, 13.3.3 Destructuring Binding Patterns, 12.14.5 Destructuring Assignment
Reporter | ||
Updated•9 years ago
|
Status: NEW → RESOLVED
Closed: 9 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•