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