Array.prototype.mymap=function(callback){
//this指向的是当前对象st
var arr=this;...value,index,array){
console.log(this);//window
console.log(value, index, array);//输出值...Array.prototype.mymap=function(callback){
//this指向的是当前对象st
var arr=this;
var...1,2,3,4,5];
var obj=st.mymap(function(value,index,array){
console.log(value, index, array);//输出值