mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-08 02:17:48 +00:00
Tweak code comments. [ci skip]
This commit is contained in:
@@ -2809,7 +2809,7 @@
|
|||||||
|
|
||||||
function wrapper() {
|
function wrapper() {
|
||||||
// avoid `arguments` object use disqualifying optimizations by
|
// avoid `arguments` object use disqualifying optimizations by
|
||||||
// converting it to an array before passing it to `composeArgs`
|
// converting it to an array before providing it to `composeArgs`
|
||||||
var argsIndex = -1,
|
var argsIndex = -1,
|
||||||
argsLength = arguments.length,
|
argsLength = arguments.length,
|
||||||
leftIndex = -1,
|
leftIndex = -1,
|
||||||
@@ -9715,7 +9715,7 @@
|
|||||||
* // => [3, 6, 4]
|
* // => [3, 6, 4]
|
||||||
*
|
*
|
||||||
* _.times(3, function(n) { mage.castSpell(n); });
|
* _.times(3, function(n) { mage.castSpell(n); });
|
||||||
* // => invokes `mage.castSpell(n)` three times, passing `n` of `0`, `1`, and `2` respectively
|
* // => invokes `mage.castSpell(n)` three times with `n` of `0`, `1`, and `2` respectively
|
||||||
*
|
*
|
||||||
* _.times(3, function(n) { this.cast(n); }, mage);
|
* _.times(3, function(n) { this.cast(n); }, mage);
|
||||||
* // => also invokes `mage.castSpell(n)` three times
|
* // => also invokes `mage.castSpell(n)` three times
|
||||||
|
|||||||
Reference in New Issue
Block a user