let t_and = arr1.filter(x => arr2.includes(x));. console.log(t_and); // ["a","b"]. let t_cut = arr1.filter(x => !arr2.includes(x));.
確定! 回上一頁