nashorn/test/script/basic/JDK-8025147.js.EXPECTED
author hannesw
Thu, 04 Sep 2014 15:37:14 +0200
changeset 26377 028dad61662f
parent 20218 5818e1531c40
permissions -rw-r--r--
8051889: Implement block scoping in symbol assignment and scope computation Reviewed-by: attila, lagergren
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
20218
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     1
SyntaxError: Invalid JSON: <json>:1:12 Trailing comma is not allowed in JSON
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     2
{ "a": 333, }
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     3
            ^
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     4
SyntaxError: Invalid JSON: <json>:1:8 Trailing comma is not allowed in JSON
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     5
[ 4343, ]
5818e1531c40 8025147: Trailing comma is not allowed in JSONArray and JSONObject
sundar
parents:
diff changeset
     6
        ^