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)

35 Branch
x86
Linux
defect
Not set
normal

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.
Version: 32 Branch → 35 Branch
OS: Linux → All
Hardware: x86 → All
Allowed in ES6, see bug 1041128.
Status: NEW → RESOLVED
Closed: 10 years ago
OS: All → Linux
Hardware: All → x86
Resolution: --- → INVALID
(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.