I was expecting the lodash without function to take an array of values, but instead takes multiple args. How do I pass it an array and make it work.
Example:
var bar = {
foo: ['a', 'b', 'c']
};
_.without(bar.foo, 'c', 'a'); // works;
_.without(bar.foo, ['c', 'a']); // doesn't work
My exclusion list has to be passed in as an array or variable so it would be useful to know how to use an array with the without function.