1
0
mirror of https://github.com/lancedikson/bowser synced 2024-10-27 20:34:22 +00:00

fix: Error Object doesn't support this property or method fixes #147

This commit is contained in:
Maksim Ryzhikov 2016-07-26 18:16:33 +03:00 committed by GitHub
parent 94da04f045
commit 2de21e77f0

View File

@ -435,7 +435,7 @@
return Array.prototype.map.call(arr, iterator); return Array.prototype.map.call(arr, iterator);
} }
for (i = 0; i < arr.length; i++) { for (i = 0; i < arr.length; i++) {
result = iterator(arr[i]); result.push(iterator(arr[i]));
} }
return result; return result;
} }