📜  js 任意数组成员 true - Javascript 代码示例
📅  最后修改于: 2022-03-11 15:04:06.349000             🧑  作者: Mango
代码示例1
// Check whether some of 1,2,3 is even
[1, 2, 3].some((num) => num % 2 === 0)
// This is true