-
Sub-task
-
Resolution: Fixed
-
P3
-
8
-
None
-
b110
-
generic
-
generic
See ECMA section 15.12.1.2 The JSON Syntactic Grammar
jjs> JSON.parse('[0,]')
Expected: JSON SyntaxError
Actual: No SyntaxError
jjs> JSON.parse('{"a":0,}')
Expected: JSON SyntaxError
Actual: No SyntaxError
jjs> JSON.parse('[0,]')
Expected: JSON SyntaxError
Actual: No SyntaxError
jjs> JSON.parse('{"a":0,}')
Expected: JSON SyntaxError
Actual: No SyntaxError