Skip to content

Commit

Permalink
Update ua-parser.js
Browse files Browse the repository at this point in the history
  • Loading branch information
sunny-mwx committed Oct 26, 2021
1 parent 29d5e43 commit 10c978e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ua-parser.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
},
enumerize = function (arr) {
var enums = {};
for (var i in arr) {
for (var i=0; i<arr.length; i++) {
enums[arr[i].toUpperCase()] = arr[i];
}
return enums;
Expand Down

0 comments on commit 10c978e

Please sign in to comment.