find non common between 2 arrays javascript code example Example: get common values from two arrays javascript let intersection = arrA.filter(x => arrB.includes(x));