Code AnalysisBeginner 45s
Swap with destructuring
What does this code output?
Starter code
let a = 1, b = 2; [a, b] = [b, a]; console.log(a, b);
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.