some :如果找到函数返回真值的数组元素, some() 返回真(并且不检查剩余值)。包括:对于所有元素都返回。
不知道对不对?。何时使用 some 或 includes ?。谢谢大家。
javascript include
include ×1
javascript ×1