KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Looking for a function in underscore.js that will take 2 arrays and return a new array of unique values? Something like _without _.without([0, 1, 3, 9], [1, 3]); I would like => [0,9] returned It appears _without's 2nd arg is a list of values, not an array. Anyone out there know if underscore has the specific function I'm looking for? Or can I take an exisitng array and covert it to values the function expects. Thanks, ~ck in San Diego
Tags (comma-separated)
Save Edits
Cancel