find specific object in array based on field code example
Example: javascript how to search an array of objects for a particular field value
var result = jsObjects.find(obj => {
return obj.b === 6
});
var result = jsObjects.find(obj => {
return obj.b === 6
});