Design a Javascript object to output to console.log as a string as per new Date()
<p>How is it that <code>console.log(new Date());</code> shows a string at the console?</p>

<p>How do I imitate that behaviour in my objects?</p>
