mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 22:33:17 +00:00
10 lines
211 B
JavaScript
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();
|
||
|
}
|
||
|
});
|