eca3b9eddea21db5c9a897f4543c03ed230d3e9c
[yaffs-website] / node_modules / uncss / node_modules / lodash / now.js
1 /**
2  * Gets the timestamp of the number of milliseconds that have elapsed since
3  * the Unix epoch (1 January 1970 00:00:00 UTC).
4  *
5  * @static
6  * @memberOf _
7  * @type Function
8  * @category Date
9  * @returns {number} Returns the timestamp.
10  * @example
11  *
12  * _.defer(function(stamp) {
13  *   console.log(_.now() - stamp);
14  * }, _.now());
15  * // => logs the number of milliseconds it took for the deferred function to be invoked
16  */
17 var now = Date.now;
18
19 module.exports = now;