1 var getNative = require('../internal/getNative');
3 /* Native method references for those with the same name as other `lodash` methods. */
4 var nativeNow = getNative(Date, 'now');
7 * Gets the number of milliseconds that have elapsed since the Unix epoch
8 * (1 January 1970 00:00:00 UTC).
15 * _.defer(function(stamp) {
16 * console.log(_.now() - stamp);
18 * // => logs the number of milliseconds it took for the deferred function to be invoked
20 var now = nativeNow || function() {
21 return new Date().getTime();