Fixing the JavaScript typeof operator | JavaScript, JavaScriptโ€ฆ:

Object.prototype.toString.call(new Date); //"[object Date]"

 Clever, if nothing else.

Labels: ,