Skip to content

Commit 59351c9

Browse files
committed
update test case to prove 'each' can still be used as a regular identifier
1 parent 475d670 commit 59351c9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/parser/for-each-in-2.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ def each(each as Object):
99
each = 'Test'
1010
1111
for each in (1, 2, 3):
12-
print(i)
12+
print(each)
1313
*/
1414

1515
enum Options {
@@ -21,4 +21,4 @@ function each(each: Object) {
2121

2222
var each = "Test";
2323
for each (var each in [1, 2, 3])
24-
print (i);
24+
print(each);

0 commit comments

Comments
 (0)