Update _.range docs to consistently reference 'end'

Former-commit-id: a8ee760eb86e67eb898715ee9719fa8981eeda17
This commit is contained in:
Terin Stock
2013-01-04 02:20:06 -08:00
parent 87dc6631ee
commit 7362dd1a7c
2 changed files with 3 additions and 3 deletions

View File

@@ -463,7 +463,7 @@ _.object(['moe', 'larry', 'curly'], [30, 40, 50]);
### <a id="_rangestart0-end--step1"></a>`_.range([start=0], end [, step=1])` ### <a id="_rangestart0-end--step1"></a>`_.range([start=0], end [, step=1])`
<a href="#_rangestart0-end--step1">#</a> [&#x24C8;](https://github.com/bestiejs/lodash/blob/master/lodash.js#L3135 "View in source") [&#x24C9;][1] <a href="#_rangestart0-end--step1">#</a> [&#x24C8;](https://github.com/bestiejs/lodash/blob/master/lodash.js#L3135 "View in source") [&#x24C9;][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 #### Arguments
1. `[start=0]` *(Number)*: The start of the range. 1. `[start=0]` *(Number)*: The start of the range.
@@ -3184,4 +3184,4 @@ A reference to the `lodash` function.
<!-- /div --> <!-- /div -->
[1]: #Arrays "Jump back to the TOC." [1]: #Arrays "Jump back to the TOC."

View File

@@ -3105,7 +3105,7 @@
/** /**
* Creates an array of numbers (positive and/or negative) progressing from * 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. * `range()` function. See http://docs.python.org/library/functions.html#range.
* *
* @static * @static