From 7362dd1a7c054aaa280951e6f2560e94828d359c Mon Sep 17 00:00:00 2001 From: Terin Stock Date: Fri, 4 Jan 2013 02:20:06 -0800 Subject: [PATCH] Update `_.range` docs to consistently reference 'end' Former-commit-id: a8ee760eb86e67eb898715ee9719fa8981eeda17 --- doc/README.md | 4 ++-- lodash.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/README.md b/doc/README.md index ec5f7117c..0c8f8b568 100644 --- a/doc/README.md +++ b/doc/README.md @@ -463,7 +463,7 @@ _.object(['moe', 'larry', 'curly'], [30, 40, 50]); ### `_.range([start=0], end [, step=1])` # [Ⓢ](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. - [1]: #Arrays "Jump back to the TOC." \ No newline at end of file + [1]: #Arrays "Jump back to the TOC." diff --git a/lodash.js b/lodash.js index 3cbe6aaa5..534ab7322 100644 --- a/lodash.js +++ b/lodash.js @@ -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