Here is my problem statement.
I have two arrays
assignedArr = [{ id: 'abc1' }, { id: 'abc2' }, { id: 'abc3' }];
unAssignedArr = [{ id: 'abc1' }, { id: 'abc2' }, { id: 'abc3'}, { id: 'abc4' }];
I have to compare assingedArr with unAssignedArr, and return the unmatched array item.
For example, In the above example,
the result should be
newArr = [{ id: 'abc4' }];
Like soo...
Any suggestions would greatly appriaciated