Get an array of an object's values:
let user = { name: "Alice", age: 30, city: "Seattle" }
let values = Object.values(user)
console.log(values) // ["Alice", 30, "Seattle"]
Combine with array methods:
let prices = { apple: 1.5, banana: 0.75, orange: 2.0 }
let total = Object.values(prices).reduce((a, b) => a + b, 0)
console.log(total) // 4.25