<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Document</title>
</head>
<body>
<script>
var newArr=arr.map(function(item,index,array){
return item
})
Array.prototype.myMap=function(cb){
var _arr=this;
var _len=_arr.length;
var _args=arguments[1]||window
var _newArr=[]
var _item;
for(var i=o;i<_len;i++){
_item=deepClone(_arr[i])
cd.apply(_arg2,[arr[i],i,_arr])
}
return _newArr
}
</script>
</body>
</html>