var rundhalsArray = ["50237451_001", "50237451_100"];
var Array = ["50237451_001", "50237451_100", "50236765_001", "50236765_100"];
I have two arrays and would like to only display the items that match when comparing them so the result of the above would be:
var resultArray = ["50237451_001", "50237451_100"];