Date.now() VS (new Date()).getTime()
Date.now is a method that returns the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC, a Mozilla-specific method. sounds like
(new Date()).getTime(). in this testcase, i want to know which is faster,
Warning! For accurate results, please disable Firebug before running the tests. (Why?)
Java applet disabled.
Compare results of other browsers
You can edit these tests or add even more tests to this page by appending
/edit to the URL. Here’s a list of current revisions for this page: