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

the primitive value returned by valueOf() or toString() is used directly without being forced to a number or s

From

Cover of JavaScript: The Definitive Guide, 6th Edition

Note

date in js is a primitive value (in itself even though not really one)