iterate through keys with a regular for loop

This commit is contained in:
Sean Parmelee
2017-04-25 10:31:36 -05:00
parent 4b696fbf26
commit 0d6ecbec17
2 changed files with 44 additions and 1 deletions

View File

@@ -327,7 +327,7 @@ getJasmineRequireObj().matchersUtil = function(j$) {
}
var extraKeys = [];
for (var i in allKeys) {
for (var i = 0; i < allKeys.length; i++) {
if (!allKeys[i].match(/^[0-9]+$/)) {
extraKeys.push(allKeys[i]);
}