mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-01 07:47:49 +00:00
Update _.range docs to consistently reference 'end'
Former-commit-id: a8ee760eb86e67eb898715ee9719fa8981eeda17
This commit is contained in:
@@ -463,7 +463,7 @@ _.object(['moe', 'larry', 'curly'], [30, 40, 50]);
|
||||
### <a id="_rangestart0-end--step1"></a>`_.range([start=0], end [, step=1])`
|
||||
<a href="#_rangestart0-end--step1">#</a> [Ⓢ](https://github.com/bestiejs/lodash/blob/master/lodash.js#L3135 "View in source") [Ⓣ][1]
|
||||
|
||||
Creates an array of numbers *(positive and/or negative)* progressing from `start` up to but not including `stop`. This method is a port of Python's `range()` function. See http://docs.python.org/library/functions.html#range.
|
||||
Creates an array of numbers *(positive and/or negative)* progressing from `start` up to but not including `end`. This method is a port of Python's `range()` function. See http://docs.python.org/library/functions.html#range.
|
||||
|
||||
#### Arguments
|
||||
1. `[start=0]` *(Number)*: The start of the range.
|
||||
@@ -3184,4 +3184,4 @@ A reference to the `lodash` function.
|
||||
<!-- /div -->
|
||||
|
||||
|
||||
[1]: #Arrays "Jump back to the TOC."
|
||||
[1]: #Arrays "Jump back to the TOC."
|
||||
|
||||
@@ -3105,7 +3105,7 @@
|
||||
|
||||
/**
|
||||
* Creates an array of numbers (positive and/or negative) progressing from
|
||||
* `start` up to but not including `stop`. This method is a port of Python's
|
||||
* `start` up to but not including `end`. This method is a port of Python's
|
||||
* `range()` function. See http://docs.python.org/library/functions.html#range.
|
||||
*
|
||||
* @static
|
||||
|
||||
Reference in New Issue
Block a user