javascript get object with id form array code example Example: javascript get object from array where property equals var res = jsArray.find(obj => { return obj.b === 6 })