now.js 145 B

12345
  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. };