I have 2 object arrays a1 and a2 with ID and Name properties. 1. I want to compare a1 and a2 and delete whatever is there in a1 which is not in a2. 2. Add whatever is in a2 but not in a1.
I want to store the delete and add results in 2 different arrays.