摘要: 1,forEach循环 不能跳过或者终止循环 const a = ["a","ss","cc"] a.dd="11" a.forEach(index =>{ // if (index 'ss') { // break; // } // 终止循环 如果终止循环会报错 console.log(index 阅读全文
posted @ 2017-06-18 13:20 郭磊—lily 阅读(3295) 评论(0) 推荐(0) 编辑