javascript object array is equal to a property 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 })