add iterators
This commit is contained in:
5
test/fixtures/arrow-functions/statement/actual.js
vendored
Normal file
5
test/fixtures/arrow-functions/statement/actual.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
nums.forEach(v => {
|
||||
if (v % 5 === 0) {
|
||||
fives.push(v);
|
||||
}
|
||||
});
|
||||
5
test/fixtures/arrow-functions/statement/expected.js
vendored
Normal file
5
test/fixtures/arrow-functions/statement/expected.js
vendored
Normal file
@@ -0,0 +1,5 @@
|
||||
nums.forEach(function (v) {
|
||||
if (v % 5 === 0) {
|
||||
fives.push(v);
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user