overseer/node_modules/es5-ext/date/#/copy.js

6 lines
125 B
JavaScript

"use strict";
var getTime = Date.prototype.getTime;
module.exports = function () { return new Date(getTime.call(this)); };