Course contentsShow
JavaScript
Lesson 288 of 2,7238. Type CoercionPro lesson

Array to Primitive Coercion

How arrays become strings via toString(), and why [1,2] + [3,4] gives '1,23,4'.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.