jdk-24/nashorn/test/script/basic/JDK-8019805.js.EXPECTED
Athijegannathan Sundararajan 72a7034a41 8019805: for each (init; test; modify) is invalid
Reviewed-by: lagergren, jlaskey
2013-07-03 17:26:31 +05:30

4 lines
143 B
Plaintext

SyntaxError: test/script/basic/JDK-8019805.js#32<eval>:1:16 for each can only be used with for..in
for each(var v=0;false;);
^