jashkenas / underscore

JavaScript's utility _ belt
https://underscorejs.org
MIT License
27.29k stars 5.53k forks source link

fix(range): step documentation #2978

Closed stevenh closed 1 year ago

stevenh commented 1 year ago

Fix the documentation for range step which changed behaviour in 1.10 to automatically set step to -1 if start is after stop.

coveralls commented 1 year ago

Coverage Status

Coverage remained the same at 95.024% when pulling 383d9fad746ae8de1050db5f6abde64fb5a7889c on stevenh:fix/range-step-docs into 7860d11ca75ee9371b21c6ab68b9597efd74d29e on jashkenas:master.

jgonggrijp commented 1 year ago

That change was introduced in a595fe10, which was already included in the 1.9.0 release. That said, you are right to correct the documentation. Thanks for contributing!

jgonggrijp commented 1 year ago

Now online and will be included in the next release.