Closed
Bug 1103650
Opened 10 years ago
Closed 10 years ago
Throw an error for "use strict"; var o = {a: 1, o, o};
Categories
(Core :: JavaScript Engine, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: bruant.d, Unassigned)
References
(Blocks 1 open bug)
Details
This should probably throw an error (duplicate property in object literal when in strict mode). It does throw an error in Firefox release, but doesn't in Firefox developer edition.
Reporter | ||
Updated•10 years ago
|
Version: 32 Branch → 35 Branch
Updated•10 years ago
|
Comment 1•10 years ago
|
||
Allowed in ES6, see bug 1041128.
Status: NEW → RESOLVED
Closed: 10 years ago
Keywords: dev-doc-needed,
site-compat
OS: All → Linux
Hardware: All → x86
Resolution: --- → INVALID
Reporter | ||
Comment 2•10 years ago
|
||
(In reply to Tom Schuster [:evilpie] from comment #1) > Allowed in ES6, see bug 1041128. Oh ok. Thanks for the info and sorry for the noise.
You need to log in
before you can comment on or make changes to this bug.
Description
•