JavaScript Interview Question: Why does [1,2,3,4,5][1,2] = 2?

9.4K views

Arka (Arka)

13 hours ago

JavaScript Interview Question: Why does [1,2,3,4,5][1,2] = 2?

JavaScript Interview Question: Why does [1,2,3,4,5][1,2] = 2?