Answers for "given two arrays and get the common elements from the 2 arrays in js"

14

get common values from two arrays javascript

let intersection = arrA.filter(x => arrB.includes(x));
Posted by: Guest on March-31-2020

Code answers related to "given two arrays and get the common elements from the 2 arrays in js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language