Obtenez des valeurs communes à partir de deux tableaux javascript
let intersection = arrA.filter(x => arrB.includes(x));
Eager Echidna
let intersection = arrA.filter(x => arrB.includes(x));
var result = arrays.shift().filter(function(v) {
return arrays.every(function(a) {
return a.indexOf(v) !== -1;
});
});