简单手写forEach等6个循环函数1.forEach2.map3.filter4.every5.some6.find7.findIndex 问:为什么return不能跳出整个循环答:return可以跳出当前callback,, 而不能跳出整个for循环,问:那怎么跳出整个循环?答:try catch。 复习小技巧 2023-06-12 135 点赞 2 评论 204 浏览