joyent/node — pull request #1942 by TooTallNate (2011-10-26 04:46:47+00:00)
Title: Don't use `instanceof` in lib/util.js "is" checks.

While using `instanceof`, these functions could easily be faked with something
like: Object.create(Date.prototype)

So let's just not use it at all. A little slower, but these functions are only
used in the REPL / for debugging so it's OK.

This fixes #1941.