Profile
Achievement
Balamir's Recent Snippets
- All /
« Prev 1 Next »
Using underscore.js, you could combine .findWhere with .without
Although, since you are creating a new array in this case anyway, you could simply use _.filter or the native Array.prototype.filter function (just like shown in the other question)....
0
3858
posted 9 years ago by Balamir