js find index of object by value of property and return it's key
const index = Data.findIndex(item => item.name === 'John');
3
5
get index of array of objects based on a property javascript
Thank you!
5
0
Are there any code examples left?
New code examples in category Javascript