Skip to content
Browse files

update test case to prove 'each' can still be used as a regular ident…

…ifier
  • Loading branch information...
1 parent 475d670 commit 59351c998644df46fcf65a4c52d3191ea0b8b28c @bamboo committed
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/parser/for-each-in-2.js
View
4 tests/parser/for-each-in-2.js
@@ -9,7 +9,7 @@ def each(each as Object):
each = 'Test'
for each in (1, 2, 3):
- print(i)
+ print(each)
*/
enum Options {
@@ -21,4 +21,4 @@ function each(each: Object) {
var each = "Test";
for each (var each in [1, 2, 3])
- print (i);
+ print(each);

0 comments on commit 59351c9

Please sign in to comment.
Something went wrong with that request. Please try again.