From 383d9fad746ae8de1050db5f6abde64fb5a7889c Mon Sep 17 00:00:00 2001
From: Steven Hartland Array Functions
A function to create flexibly-numbered lists of integers, handy for
each and map loops. start, if omitted,
- defaults to 0; step defaults to 1. Returns a list
+ defaults to 0; step defaults to 1 if start
+ is before stop, otherwise -1. Returns a list
of integers from start (inclusive) to stop (exclusive),
- incremented (or decremented) by step. Note that ranges that
- stop before they start are considered to be zero-length
- instead of negative — if you'd like a negative range, use a negative
- step.
+ incremented (or decremented) by step.
_.range(10);