restructure test directory

This commit is contained in:
Sebastian McKenzie
2014-10-11 22:42:31 +11:00
parent a1b2da49d7
commit bb9b7455b5
312 changed files with 24 additions and 25 deletions

View File

@@ -0,0 +1 @@
var seattlers = [for (customers of countries) for (c of customers) if (c.city == "Seattle") { name: c.name, age: c.age }];

View 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;
}();