Why [] + [] becomes an empty string
Because adding nothing to nothing should obviously equal an empty string. When you force JavaScript to evaluate '[] + []', it panics, converts both empty arrays into strings, and concatenates them into a glorious void of text.
![Why [] + [] becomes an empty string](https://cdn.stackyfacts.com/images/d1aa02bf-a013-4e2f-8dcf-21df6e97df10_back.jpg)
Keep exploring facts in this topic.
Technology →




![C arrays allow reversed bracket notation like 5[a]](https://cdn.stackyfacts.com/images/8d1cb281-004c-4034-beec-f92b007ea3e7_back.jpg)