-
Type:
Sub-task
-
Resolution: Fixed
-
Priority:
P4
-
Affects Version/s: None
-
Component/s: core-libs
-
None
-
b98
-
generic
-
generic
-
Verified
jjs> ({,})
[object Object]
jjs> ({,a:0})
[object Object]
jjs> ({a:0,,})
[object Object]
All these should throw SyntaxError exceptions. Only trailing comma is permitted as per specification.