Skip to content

Instantly share code, notes, and snippets.

@mfloryan
Created February 3, 2014 13:17
Show Gist options
  • Select an option

  • Save mfloryan/8783615 to your computer and use it in GitHub Desktop.

Select an option

Save mfloryan/8783615 to your computer and use it in GitHub Desktop.
LoDash foo
var list = [
{ colour: 'Blue', taste: 'sweet'},
{ colour: 'Green', taste: 'bitter'}
];
var result = _.map(list, function(item) { return _.omit(item,'taste')});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment