find object in array javascript with property code example Example: find object in array javascript with property let obj = objArray.find(obj => obj.id == 3);