mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-05 01:17:50 +00:00
Tweak _.defer and _.delay docs. [ci skip]
Former-commit-id: 921eec8f2e8e7701f14095d221a5e72a2c45f470
This commit is contained in:
@@ -4207,7 +4207,7 @@
|
||||
* @param {Function} func The function to delay.
|
||||
* @param {Number} wait The number of milliseconds to delay execution.
|
||||
* @param {Mixed} [arg1, arg2, ...] Arguments to invoke the function with.
|
||||
* @returns {Number} Returns the `setTimeout` timeout id.
|
||||
* @returns {Number} Returns the timer id.
|
||||
* @example
|
||||
*
|
||||
* var log = _.bind(console.log, console);
|
||||
@@ -4228,7 +4228,7 @@
|
||||
* @category Functions
|
||||
* @param {Function} func The function to defer.
|
||||
* @param {Mixed} [arg1, arg2, ...] Arguments to invoke the function with.
|
||||
* @returns {Number} Returns the `setTimeout` timeout id.
|
||||
* @returns {Number} Returns the timer id.
|
||||
* @example
|
||||
*
|
||||
* _.defer(function() { alert('deferred'); });
|
||||
|
||||
Reference in New Issue
Block a user