Last active
October 9, 2017 13:11
-
-
Save rafaelmaeuer/0e19e51ea85b093f2b3fea5731f3593e to your computer and use it in GitHub Desktop.
JavaScript indexOf method in an object array? - From https://stackoverflow.com/questions/8668174/indexof-method-in-an-object-array
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
var indexOfStevie = myArray.findIndex(i => i.hello === "stevie"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment