Closed
Bug 519295
Opened 15 years ago
Closed 15 years ago
Detection of duplicate argument names with destructuring formals inconsistent
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 499524
People
(Reporter: jimb, Unassigned)
Details
Hardly earth-shaking, but not classy either (can we have a new priority for that?):
js> function f(x,[x]){}
typein:1: SyntaxError: duplicate argument is mixed with destructuring pattern:
typein:1: function f(x,[x]){}
typein:1: ...............^
js> function f([x],x){}
js>
Reporter | ||
Comment 1•15 years ago
|
||
Fixed by fix for bug 499524.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•