.findIndex(x => x.id === id) code example Example: .findIndex( array.findIndex(call back function) //index of ............ //first