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

Object to Primitive: ToPrimitive Algorithm

Understanding valueOf and toString order, and why {} + {} gives '[object Object][object Object]'.

This lesson is for subscribers

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