转载自博客 需要使用every和some跳出循环: some : 当内部return true时跳出整个循环every : 当内部return false时跳出整个循环(需要写 return true )