diff --git a/lib/utils/helpers.js b/lib/utils/helpers.js index 9c93b37..4e80378 100644 --- a/lib/utils/helpers.js +++ b/lib/utils/helpers.js @@ -82,10 +82,10 @@ function iterate(thing, fn, thisVal) { } if (H.isObject(thing)) { - Object.keys(thing).forEach(function(key) { + for (var key in thing) { var value = thing[key]; fn.call(thisVal, value, key); - }, thisVal); + } } return [];