The range function return a Iterable of numbers, starting from from,increments by 1 and stops at to.
const collection = new ListCollection(range(1, 10))collection.toArray();// [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] Copy
const collection = new ListCollection(range(1, 10))collection.toArray();// [1, 2, 3, 4, 5, 6, 7, 8, 9, 10]
The range function return a Iterable of numbers, starting from from,increments by 1 and stops at to.