Array with object index not getting as expected

javascript find index of object in array
javascript find object in array
javascript find index of object in array by property
findindex is not a function
array filter
javascript array
javascript array find
index of object in array javascript