fix up test styling and add use-strict declarator
This commit is contained in:
@@ -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;
|
||||
}();
|
||||
}();
|
||||
Reference in New Issue
Block a user