Pull removes all of the given values from an array
array
(Array): input arrayvalues
(...*): values to be removed from the array
(Array): array of with values removed
const result = arrays.pull([1, 2, 3, 4], 2, 4);
console.log(result)
> [1, 3]
Pull removes all of the given values from an array
array
(Array): input arrayvalues
(...*): values to be removed from the array(Array): array of with values removed
const result = arrays.pull([1, 2, 3, 4], 2, 4);
console.log(result)
> [1, 3]