better support for Identifier in ForOfStatement

This commit is contained in:
Sebastian McKenzie
2014-10-12 13:39:59 +11:00
parent ed3c047480
commit 2e404c92c8
4 changed files with 19 additions and 10 deletions

View File

@@ -0,0 +1,3 @@
for (i of arr) {
}

View File

@@ -0,0 +1,3 @@
for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done; ) {
i = _step.value;
}