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