nashorn/test/script/basic/NASHORN-98.js.EXPECTED
author sundar
Wed, 16 Jan 2013 21:26:55 +0530
changeset 16178 2704dd3b2691
parent 16147 e63b63819133
child 20929 f2bd18181940
permissions -rw-r--r--
8006424: Passing null or undefined to adapter class constructors results in NPE or ClassCastException Reviewed-by: attila, hannesw, jlaskey
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
16147
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     1
SyntaxError: test/script/basic/NASHORN-98.js#32<eval>:1:13 Expected comma but found decimal
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     2
var x = [ 23 34 ]
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     3
             ^
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     4
SyntaxError: test/script/basic/NASHORN-98.js#41<eval>:1:18 Expected comma but found ident
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     5
var x = { foo: 33 bar: 'hello' }
e63b63819133 8005403: Open-source Nashorn
jlaskey
parents:
diff changeset
     6
                  ^