//测试数组中,书否含有某个值const array = [1, 2, 3, 4, 5];
const data=4const qq=array.some(item=>{ return item===data})console.log(qq);// expected output: true