Son CV dans un terminal web en Javascript!
https://terminal-cv.gregandev.fr
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
389 B
14 lines
389 B
var $ = require('../internals/export');
|
|
var global = require('../internals/global');
|
|
var uncurryThis = require('../internals/function-uncurry-this');
|
|
|
|
var Date = global.Date;
|
|
var getTime = uncurryThis(Date.prototype.getTime);
|
|
|
|
// `Date.now` method
|
|
// https://tc39.es/ecma262/#sec-date.now
|
|
$({ target: 'Date', stat: true }, {
|
|
now: function now() {
|
|
return getTime(new Date());
|
|
}
|
|
});
|
|
|