if(!Array.prototype.map){Array.prototype.map=function(callback, thisArg){varT,A, k;if(this==null){thrownewTypeError(" this is null or not defined");}varO=Object(this);var len =O.length >>>0;if(typeof callback !=="function"){thrownewTypeError(callback +" is not a function");if(thisArg){T= thisArg;}A=newArray(len);
k =0;while(k < len){var kValue, mappedValue;if(k inO){
kValue =O[ k ];
mappedValue =callback.call(T, kValue, k,O);A[ k ]= mappedValue;}
k++;}returnA;};}}