I am trying to find the most efficient way to output an object of array having mismatching values only. Here are two object of arrays:
var arrA = [
{Name: "A"},
{Name: "C"},
{Name: "F"},
{Name: "G"},
]
var arrB = [
{Name: "C"},
{Name: "J"},
{Name: "I"},
]
Here is the result I am expecting:
[
{Name: "A"},
{Name: "F"},
{Name: "G"},
]
Please advise. Thank you.