source: imaps-frontend/node_modules/lodash-es/now.js@ d565449

main
Last change on this file since d565449 was d565449, checked in by stefan toskovski <stefantoska84@…>, 4 weeks ago

Update repo after prototype presentation

  • Property mode set to 100644
File size: 518 bytes
Line 
1import root from './_root.js';
2
3/**
4 * Gets the timestamp of the number of milliseconds that have elapsed since
5 * the Unix epoch (1 January 1970 00:00:00 UTC).
6 *
7 * @static
8 * @memberOf _
9 * @since 2.4.0
10 * @category Date
11 * @returns {number} Returns the timestamp.
12 * @example
13 *
14 * _.defer(function(stamp) {
15 * console.log(_.now() - stamp);
16 * }, _.now());
17 * // => Logs the number of milliseconds it took for the deferred invocation.
18 */
19var now = function() {
20 return root.Date.now();
21};
22
23export default now;
Note: See TracBrowser for help on using the repository browser.