jdk-24/nashorn/test/script/error/JDK-8098847.js.EXPECTED
Athijegannathan Sundararajan 55f2b58bad 8098847: obj."prop" and obj.'prop' should result in SyntaxError
Reviewed-by: hannesw, attila
2015-06-17 14:21:20 +05:30

7 lines
194 B
Plaintext

test/script/error/JDK-8098847.js:32:5 Expected ident but found prop
obj."prop" = "hello";
^
test/script/error/JDK-8098847.js:33:5 Expected ident but found prop
obj.'prop' = "hello";
^