difference

Deprecated: Use the native Set.prototype.difference() function instead.

Create a new array with values from the first array that are not present in the other arrays. Optionally, use a compare function to determine the comparison of elements (default is ===).

Example