process: throw a TypeError when anything but an Array is passed to hrtime()
authorNathan Rajlich <nathan@tootallnate.net>
Sun, 8 Jul 2012 02:57:02 +0000 (19:57 -0700)
committerNathan Rajlich <nathan@tootallnate.net>
Mon, 9 Jul 2012 03:53:19 +0000 (20:53 -0700)
commitd3d83d7b909d34784b9cb96faa8541542630b9d6
treed9fe6909f3839d024900013eaed6ccc72990ad9e
parent26f1bc8e8c7e640376a911356d48d5fc7e8a433f
process: throw a TypeError when anything but an Array is passed to hrtime()

Fixes #3664.
src/node.cc
test/simple/test-process-hrtime.js [new file with mode: 0644]