摘要: [].forEach(function(value, index, array) { // ... }); 对比jQuery中的$.each方法: $.each([], function(index, value, array) { // ... }); 会发现,第1个和第2个参数正好是相反的,大家 阅读全文
posted @ 2017-03-25 06:28 <张磊> 阅读(142) 评论(0) 推荐(0)