deliverys.map(item => {
cosole.log(item.name)
cosole.log(item.category)
})
const gerCategories = deliverys => {
const categories = {};
deliverys.forEach(item => {
categories[item] = true;
});
return Object.keys(categories);
}
const category = 'Пицца'; // условно
const elements = deliverys.filter(item => item.category === category);