let arr1=[1,2,3,4,5];let arr2=[5,6,7,8,9];//some:一旦有一个值符合要求就返回true let result=arr1.some((item) => arr2.includes(item));console.log(result)//true