better support for Identifier in ForOfStatement
This commit is contained in:
3
test/fixtures/syntax/for-of/identifier/actual.js
vendored
Normal file
3
test/fixtures/syntax/for-of/identifier/actual.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
for (i of arr) {
|
||||
|
||||
}
|
||||
3
test/fixtures/syntax/for-of/identifier/expected.js
vendored
Normal file
3
test/fixtures/syntax/for-of/identifier/expected.js
vendored
Normal file
@@ -0,0 +1,3 @@
|
||||
for (var _iterator = arr[Symbol.iterator](), _step; !(_step = _iterator.next()).done; ) {
|
||||
i = _step.value;
|
||||
}
|
||||
Reference in New Issue
Block a user