Creates a new array excluding all given values.
The source array to filter.
The values to exclude from the new array.
A new array excluding the specified values.
pull([1, 2, 3, 4], 2, 4);// → [1, 3]pull(["a", "b", "c"], "b");// → ["a", "c"] Copy
pull([1, 2, 3, 4], 2, 4);// → [1, 3]pull(["a", "b", "c"], "b");// → ["a", "c"]
1.0.0
Creates a new array excluding all given values.