now.js 163 B

1234567
  1. // A (possibly faster) way to get the current timestamp as an integer.
  2. var now = Date.now || function() {
  3. return new Date().getTime();
  4. };
  5. module.exports = now;