now.js 145 B

1234
  1. // A (possibly faster) way to get the current timestamp as an integer.
  2. export default Date.now || function() {
  3. return new Date().getTime();
  4. };