O'Reilly logo
  • Nivan Morgan thinks this is interesting:

All objects inherit two conversion methods

From

Cover of JavaScript: The Definitive Guide, 6th Edition

Note

so any object converts using these methods toString and valueof