Results 1 comments of 柠仙

```` function intersection(arr,...args){ // 记录每次对比两个数组的交集 let set = new Set(arr); for(let e of args){ // 取出不定个参数数组 let rep = []; // 记录当前数组和之前交集的交集 for(let ele of e){ if(set.has(ele)){ rep.push(ele); } }...