mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-02-10 10:57:49 +00:00
Clarify doc for range usage with single arg (#3854)
This commit is contained in:
committed by
John-David Dalton
parent
4ea8c2ec24
commit
ab960bdc96
2
range.js
2
range.js
@@ -4,7 +4,7 @@ import createRange from './.internal/createRange.js'
|
|||||||
* 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, `end`. A step of `-1` is used if a negative
|
* `start` up to, but not including, `end`. A step of `-1` is used if a negative
|
||||||
* `start` is specified without an `end` or `step`. If `end` is not specified,
|
* `start` is specified without an `end` or `step`. If `end` is not specified,
|
||||||
* it's set to `start` with `start` then set to `0`.
|
* it's set to `start`, and `start` is then set to `0`.
|
||||||
*
|
*
|
||||||
* **Note:** JavaScript follows the IEEE-754 standard for resolving
|
* **Note:** JavaScript follows the IEEE-754 standard for resolving
|
||||||
* floating-point values which can produce unexpected results.
|
* floating-point values which can produce unexpected results.
|
||||||
|
|||||||
Reference in New Issue
Block a user