Code AnalysisBeginner 60s
Trace: Slice and Concat
What does this print?
Starter code
const arr=[10,20,30,40,50]; const mid=arr.slice(1,4); console.log(mid[0]+mid[2])
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.