Closed Bug 508639 Opened 15 years ago Closed 15 years ago

Remove strict warning for trailing comma in object literals (per ES5)

Categories

(Core :: JavaScript Engine, defect)

defect
Not set
normal

Tracking

()

VERIFIED DUPLICATE of bug 508637

People

(Reporter: Gijs, Unassigned)

Details

Per: http://groups.google.com/group/mozilla.dev.platform/browse_thread/thread/13acadc848bf612d#

Because ES5 removed the requirement for warnings/errors for trailing commas, we can remove the strict warning for people doing:

var foo = {
  bar: 'baz',
};
We were all so enthusiastic - oops! :-)
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
V.Duplicate
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.