Reviewers: Yang,
Message:
I ran into this while looking into Date for a Blink CL that I'm working
on. It
seems like date.js was written before Date.now got into the ES spec.
Please take a look?
Description:
Add ES specification reference to DateNow.
Please review this at https://codereview.chromium.org/89353002/
SVN Base: http://v8.googlecode.com/svn/branches/bleeding_edge/
Affected files (+1, -2 lines):
M src/date.js
Index: src/date.js
===================================================================
--- src/date.js (revision 18089)
+++ src/date.js (working copy)
@@ -302,8 +302,7 @@
}
-// Mozilla-specific extension. Returns the number of milliseconds
-// elapsed since 1 January 1970 00:00:00 UTC.
+// ECMA 262 - 15.9.4.4
function DateNow() {
return %DateCurrentTime();
}
--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
---
You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.