{"aliases":["default","es5","modernizr:es5array","blissfuljs"],"browsers":{"ie":"6 - 8"},"spec":"http://people.mozilla.org/~jorendorff/es6-draft.html#sec-array.prototype.map","docs":"https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/map","baseDir":"Array/prototype/map","hasTests":true,"rawSource":"\n// Array.prototype.map\nArray.prototype.map = function map(callback) {\n\tif (this === undefined || this === null) {\n\t\tthrow new TypeError(this + 'is not an object');\n\t}\n\n\tif (!(callback instanceof Function)) {\n\t\tthrow new TypeError(callback + ' is not a function');\n\t}\n\n\tvar\n\tobject = Object(this),\n\tscope = arguments[1],\n\tarraylike = object instanceof String ? object.split('') : object,\n\tlength = Math.max(Math.min(arraylike.length, 9007199254740991), 0) || 0,\n\tindex = -1,\n\tresult = [],\n\telement;\n\n\twhile (++index < length) {\n\t\tif (index in arraylike) {\n\t\t\tresult[index] = callback.call(scope, arraylike[index], index, object);\n\t\t}\n\t}\n\n\treturn result;\n};\n","minSource":"Array.prototype.map=function(t){if(void 0===this||null===this)throw new TypeError(this+\"is not an object\");if(!(t instanceof Function))throw new TypeError(t+\" is not a function\");for(var n=Object(this),i=arguments[1],o=n instanceof String?n.split(\"\"):n,r=Math.max(Math.min(o.length,9007199254740991),0)||0,a=-1,e=[];++a<r;)a in o&&(e[a]=t.call(i,o[a],a,n));return e};","detectSource":"'map' in Array.prototype"}