j4eo
0
Q:

indexOf by object key

var index = peoples.findIndex(p => p.attr1 == "john")
0

New to Communities?

Join the community