摘要: arr forEach(callback,thisArg) thisArg:指明回调函数的this指向 callback(element,index,arr) element:每次取到的数组元素值 index:遍历数组每次取到的数组元素索引 arr:操作的数组 every():测试所有的元素都通过了 阅读全文
posted @ 2019-05-05 09:47 Chesney张帅 阅读(750) 评论(0) 推荐(0) 编辑