const object = { firstAttribute: 'firstValue', secondAttribute: 'secondValue' }; objectList.filter(o -> o.firstAttribute === 'firstValue');