array find complex objects in js code example Example: javascript get object from array where property equals var res = jsArray.find(obj => { return obj.b === 6 })