From 2de21e77f0d98539c0f4c5730c8403d0ae18ff8b Mon Sep 17 00:00:00 2001 From: Maksim Ryzhikov Date: Tue, 26 Jul 2016 18:16:33 +0300 Subject: [PATCH] fix: Error Object doesn't support this property or method fixes #147 --- src/bowser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bowser.js b/src/bowser.js index 49cb903..c496a73 100644 --- a/src/bowser.js +++ b/src/bowser.js @@ -435,7 +435,7 @@ return Array.prototype.map.call(arr, iterator); } for (i = 0; i < arr.length; i++) { - result = iterator(arr[i]); + result.push(iterator(arr[i])); } return result; }