随笔分类 -  js基础

js基础
摘要:Array.prototype.map=function(fn){ let result=[] for(let i=0;i<this.length;i++){ result.push(fn(this[i],i,this)) } return result } Array.prototype.forE 阅读全文
posted @ 2021-04-19 15:49 爬塔游戏 阅读(82) 评论(0) 推荐(0)