Code AnalysisBeginner 60s
Trace: Stack with Push/Pop
What does this print?
Starter code
const stack=[]; stack.push(1);stack.push(2);stack.push(3); stack.pop(); console.log(stack.length)
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.