会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
超哥20
博客园
首页
新随笔
联系
管理
订阅
2019年7月1日
简单了解map,filter,some,every,forEach,for in,for of,find,用法
摘要: map 有返回值,返回一个新的数组,每个元素为调用func的结果 let list=[1,2,3,4,5]; let other=list.map((item,index)=>{ return item*2; }) console.log(other); //print:[2,4,6,8,10] f
阅读全文
posted @ 2019-07-01 14:22 超哥20
阅读(214)
评论(0)
推荐(0)
编辑
公告