jdk-24/nashorn/test/script/basic/JDK-8019791.js.EXPECTED
Athijegannathan Sundararajan 6dfb638284 8019791: ~ is a unary operator
Reviewed-by: hannesw
2013-07-03 14:08:00 +05:30

7 lines
241 B
Plaintext

SyntaxError: test/script/basic/JDK-8019791.js#33<eval>:1:3 Expected ; but found ~
"" ~ ""
^
SyntaxError: test/script/basic/JDK-8019791.js#41<eval>:1:18 Expected ) but found ~
function() { if (1~0) return 0; return 1 }
^