var a = [{"Id": 1, "Name": 'a'}, {"Id": 2, "Name": 'b'}, {"Id": 3, "Name": 'c'},{"Id": 4, "Name": 'd'},,{"Id": 5, "Name": 'j'}];
var b = [{"Id": 1, "Name": 'a'}, {"Id": 4, "Name": 'd'}, {"Id": 5, "Name": 'j'},{"Id": 9, "Name": 'i'}];
I need to remove duplicate in "a" by comparing "a" with "b" using underscore js
i need to check like a[0] to all b array then if a[0] is in b then a[0] to remove, and i dont want value from b
B is only for checking duplicate