Code AnalysisBeginner 45s
Map operations
What does this code output?
Starter code
const m = new Map();
m.set('a', 1);
m.set('a', 2);
console.log(m.get('a'));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.