source: node_modules/es-toolkit/dist/compat/util/now.d.mts@ ba17441

Last change on this file since ba17441 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 490 bytes
Line 
1/**
2 * Returns the number of milliseconds elapsed since January 1, 1970 00:00:00 UTC.
3 *
4 * @returns {number} The current time in milliseconds.
5 *
6 * @example
7 * const currentTime = now();
8 * console.log(currentTime); // Outputs the current time in milliseconds
9 *
10 * @example
11 * const startTime = now();
12 * // Some time-consuming operation
13 * const endTime = now();
14 * console.log(`Operation took ${endTime - startTime} milliseconds`);
15 */
16declare function now(): number;
17
18export { now };
Note: See TracBrowser for help on using the repository browser.