nashorn/test/script/basic/forin.js
changeset 18843 eea6d1b8263e
parent 16151 97c1e756ae1e
child 24778 2ff5d7041566
--- a/nashorn/test/script/basic/forin.js	Wed Jul 03 13:03:36 2013 +0200
+++ b/nashorn/test/script/basic/forin.js	Wed Jul 03 17:26:31 2013 +0530
@@ -49,8 +49,3 @@
 // 'each' is a contextual keyword. Ok to use as identifier elsewhere..
 var each = "This is each";
 print(each);
-
-// it is ok to use "each" is usual for loop. Ignored as noise word.
-for each (var i = 0; i < 10; i++) {
-    print(i);
-}