We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents b4cfe1b + 10c978e commit 157af1eCopy full SHA for 157af1e
src/ua-parser.js
@@ -76,7 +76,7 @@
76
},
77
enumerize = function (arr) {
78
var enums = {};
79
- for (var i in arr) {
+ for (var i=0; i<arr.length; i++) {
80
enums[arr[i].toUpperCase()] = arr[i];
81
}
82
return enums;
0 commit comments