Przejdź do głównej zawartości
const numbers = [1, 2, 3]

console.log(
numbers.map(n => ({ value: n }))
)