Modify ↓
Ticket #10273 (closed feature: wontfix)
jQuery.now, more short
| Reported by: | pinal | Owned by: | |
|---|---|---|---|
| Priority: | low | Milestone: | None |
| Component: | core | Version: | 1.6.4rc1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I think this
now: function() {
return (new Date()).getTime();
},
can be shoter:
now: function() {
return + new Date();
},
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

That is what it used to be and was intentionally changed to the current form.