Array.prototype.filter.// Значение `value` предмета, который выпал из массива всех предметов
let chosenObjectValue = '...';
window.location.href = segmentValuesArray.filter(data => data.value === chosenObjectValue)[0].link; const getList = async () => await fetch(...).then(response => response.json());Array.prototype.map