compare the 3 arrays and find any common elements javascript code example
Example: get common values from two arrays javascript
let intersection = arrA.filter(x => arrB.includes(x));
let intersection = arrA.filter(x => arrB.includes(x));