how to find one field is present or in an array of objects javascript 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
});