ic_man

  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2017年6月4日

摘要: forEach 是ES5新方法中最基本的一个,就是遍历,循环。类似for arr.forEach(function(value,index,array){}) value -- 遍历的数组内容 index -- 对应的数组索引 array -- 数组本身 这时同学发现了forEach方法跟jQuer 阅读全文
posted @ 2017-06-04 02:23 ic_man 阅读(201) 评论(0) 推荐(0)