github-pages-deploy-action/node_modules/core-js-pure/modules/es.date.now.js
2020-03-06 22:45:40 -05:00

10 lines
211 B
JavaScript

var $ = require('../internals/export');
// `Date.now` method
// https://tc39.github.io/ecma262/#sec-date.now
$({ target: 'Date', stat: true }, {
now: function now() {
return new Date().getTime();
}
});