Example 1 — Official: Strip Listed Values
Every matching occurrence is removed; survivors stay in order.
_.without([2, 1, 2, 3], 1, 2);
// → [3] How It Works
- Source. Array is
[2, 1, 2, 3]. - Exclude. Arguments
1and2form the blacklist. - Scan. Both
2s and the1match and drop. - Keep. Only
3remains in the new array.

