Returns an object with the keys added and removed which each contain an array. The added array contains elements that were added in the final array. The removed array contains elements that were removed from the initial array.
added
removed
final
initial
The initial version of the array.
The final version of the array.
Returns an object with the keys
addedandremovedwhich each contain an array. Theaddedarray contains elements that were added in thefinalarray. Theremovedarray contains elements that were removed from theinitialarray.