Skip to content

Instantly share code, notes, and snippets.

@freshcutdevelopment
Created September 25, 2016 15:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save freshcutdevelopment/8b6887f905438565c5712a015d2e5c3c to your computer and use it in GitHub Desktop.
Save freshcutdevelopment/8b6887f905438565c5712a015d2e5c3c to your computer and use it in GitHub Desktop.
Find an object in ES2015
let matchingTodoItem = todoItems.find(item => item.id === id);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment