mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-04 00:57:48 +00:00
Bump to v4.7.0.
This commit is contained in:
3
now.js
3
now.js
@@ -6,6 +6,7 @@ define([], function() {
|
||||
*
|
||||
* @static
|
||||
* @memberOf _
|
||||
* @since 2.4.0
|
||||
* @type {Function}
|
||||
* @category Date
|
||||
* @returns {number} Returns the timestamp.
|
||||
@@ -14,7 +15,7 @@ define([], function() {
|
||||
* _.defer(function(stamp) {
|
||||
* console.log(_.now() - stamp);
|
||||
* }, _.now());
|
||||
* // => logs the number of milliseconds it took for the deferred function to be invoked
|
||||
* // => Logs the number of milliseconds it took for the deferred function to be invoked.
|
||||
*/
|
||||
var now = Date.now;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user