Check if an array contains any element of another array in JavaScript - 1.js. ... console.log(a, b, a.some(v => b.includes(v)));.
確定! 回上一頁