Skip to content

Instantly share code, notes, and snippets.

@Lazhari
Created November 12, 2015 16:57
Show Gist options
  • Save Lazhari/f66accea1316013806cc to your computer and use it in GitHub Desktop.
Save Lazhari/f66accea1316013806cc to your computer and use it in GitHub Desktop.
Remove element from an array using underscore
var array3 = _.without(array3, _.findWhere(array3, {_id: push._id}));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment