Blog

Hi, I’m Tom, maker of Loglesk. You can read about my experiences and lessons learned while building in public a minimalistic web analytics SaaS.

Subscribe to my newsletter

No spam. Unsubscribe at any time.

JavaScript: toString() vs valueOf()

What is the real difference between toString() and valueOf() methods? And when will JavaScript use one method and when the other?