JavaScript otrzymuj te same elments z wielu tablic
var result = arrays.shift().filter(function(v) {
return arrays.every(function(a) {
return a.indexOf(v) !== -1;
});
});
Jermotin05