Code AnalysisBeginner 60s
Trace: Object.values Sum
What is the result?
Starter code
const scores = { alice: 90, bob: 85, eve: 95 };
const total = Object.values(scores).reduce((a, b) => a + b, 0);
console.log(total);Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.