restructure test directory
This commit is contained in:
1
test/fixtures/syntax/array-comprehension/multiple/actual.js
vendored
Normal file
1
test/fixtures/syntax/array-comprehension/multiple/actual.js
vendored
Normal file
@@ -0,0 +1 @@
|
||||
var arr = [for (x of "abcdefgh".split("")) for (y of "12345678".split("")) (x + y)];
|
||||
11
test/fixtures/syntax/array-comprehension/multiple/expected.js
vendored
Normal file
11
test/fixtures/syntax/array-comprehension/multiple/expected.js
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
var arr = (function () {
|
||||
var _arr = [];
|
||||
|
||||
"abcdefgh".split("").forEach(function (x) {
|
||||
"12345678".split("").forEach(function (y) {
|
||||
_arr.push(x + y);
|
||||
});
|
||||
});
|
||||
|
||||
return _arr;
|
||||
})();
|
||||
Reference in New Issue
Block a user