编辑代码
JS代码
14.16.1
10.16.0
运行
const
arr = [
1
,
2
,
3
,
4
];
const
isOk = arr.some(
x
=>
x >
5
);
console
.log(isOk)