Example 1 — Official: Pull Multiple Values
Remove every "a" and "c" in place.
var array = ["a", "b", "c", "a", "b", "c"];
_.pull(array, "a", "c");
// → ["b", "b"]
// array is also ["b", "b"] How It Works
- Source. Six letters with duplicates of
a,b, andc. - Targets. Pass
"a"and"c"as separate arguments. - All matches go. Both
as and bothcs are removed. - Mutates. The variable
arraynow holds["b","b"].

