Hacker News new | ask | show | jobs
by DecoPerson 4265 days ago
"Every object has a toString() method that is automatically called when the object is to be represented as a text value or when an object is referred to in a manner in which a string is expected."

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...