Closed Bug 50002 Opened 24 years ago Closed 24 years ago

Strict warning for trailing comma in JS object initializer

Categories

(Core :: JavaScript Engine, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: taras.tielkes, Assigned: brendan)

Details

(Keywords: js1.5)

Attachments

(1 file)

Brendan, per your request in the jseng news group:

Initializer lists that have a trailing comma shoud cause a warning in strict 
mode. (What the heck is strict mode in this context? Strict ECMAScript?).
Reassigning to Brendan Eich.(at his request)
Assignee: rogerl → brendan
Changed assinged-to email adress to "@mozilla.org"
Assignee: brendan → brendan
Compressing Summary to fit in query pages better, adding js1.5 keyword.

/be
Status: NEW → ASSIGNED
Keywords: js1.5
Summary: Strict mode warning should be emitted for trailing comma in initializer list → Strict warning for trailing comma in JS object initializer
Target Milestone: --- → M18
Looking for r= today, this one's easy.

/be
Fix checked in.

/be
Status: ASSIGNED → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Verifying -
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: