restructure test directory
This commit is contained in:
14
test/fixtures/syntax/array-comprehension/multiple-if/expected.js
vendored
Normal file
14
test/fixtures/syntax/array-comprehension/multiple-if/expected.js
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
var seattlers = function () {
|
||||
var _arr = [];
|
||||
countries.forEach(function (customers) {
|
||||
customers.forEach(function (c) {
|
||||
if (c.city == "Seattle") {
|
||||
_arr.push({
|
||||
name: c.name,
|
||||
age: c.age
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
return _arr;
|
||||
}();
|
||||
Reference in New Issue
Block a user