UNPKG

@stdlib/esm

Version:

ES module distribution for Stdlib, a standard library for JavaScript and Node.js.

3 lines 398 B
// This file is a part of stdlib. License is Apache-2.0: http://www.apache.org/licenses/LICENSE-2.0 import e from"./../assert/is-function.js";import r from"./../math/base/special/round.js";var t=e,a=t(Date.now),n=r;function o(){return 0|n(Date.now()/1e3)}var i=r;function s(){var e;return e=new Date,0|i(e.getTime()/1e3)}var u,f=a,m=o,c=s,p=u=f?m:c;export default p; //# sourceMappingURL=now.js.map