fix up test styling and add use-strict declarator

This commit is contained in:
Sebastian McKenzie
2014-10-18 15:42:36 +11:00
parent 6c48e6cd66
commit dcaea68240
198 changed files with 697 additions and 447 deletions

View File

@@ -1,7 +1,10 @@
var seattlers = function () {
"use strict";
var seattlers = function() {
var _arr = [];
countries.forEach(function (customers) {
customers.forEach(function (c) {
countries.forEach(function(customers) {
customers.forEach(function(c) {
if (c.city == "Seattle") {
_arr.push({
name: c.name,
@@ -10,5 +13,6 @@ var seattlers = function () {
}
});
});
return _arr;
}();
}();