Created
September 25, 2016 15:15
-
-
Save freshcutdevelopment/8b6887f905438565c5712a015d2e5c3c to your computer and use it in GitHub Desktop.
Find an object in ES2015
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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