会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
?a56爆大奖在线娱乐的小随笔?
博客园
首页
新随笔
联系
订阅
管理
数组 forEach map filter
forEach map filter var arr = [1,2,3,4,5,6,7]; var newArr = arr.filter(function(item, index, old) { return index % 3 === 0 || item > 3; }); console.log
posted @
2016-02-17 18:49
bronana
阅读(
110
) 评论(
0
)
编辑
收藏
举报
会员力量,点亮园子希望
刷新页面
返回顶部
公告