JavaScript Encontre objeto por propriedade na matriz
// To find a specific object in an array of objects
myObj = myArrayOfObjects.find(obj => obj.prop === 'something');
SmokeFrog