[Solved] Find where item is in JSON array by given valueKiratMarch 3, 2023Solved Use findIndex var idToSearch = "1"; var index = people.findIndex( s => s.id == idToSearch ); solved Find where item is in JSON array by given value # javascript# json