github-pages-deploy-action/node_modules/core-js-pure/modules/es.date.now.js

10 lines
211 B
JavaScript
Raw Normal View History

2020-03-07 11:45:40 +08:00
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();
}
});