ES6—20:some和forEach的区别 Always_positive 2021-04-08 75 阅读1分钟 区别:forEach中的return不会终止循环,但是some中的return会终止循环