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
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
Created attachment 13378 [details] [diff] [review] proposed fix, plus tab expansion and pn_op = JSOP_NEW setting for consistency
Looking for r= today, this one's easy. /be
r=shaver, get in the tree.
Fix checked in. /be
Status: ASSIGNED → RESOLVED
Last Resolved: 18 years ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.