Example 1 — Official Sample
The two calls from the Ramda docs.
console.log(R.range(1, 5)); // [1, 2, 3, 4]
console.log(R.range(50, 53)); // [50, 51, 52] How It Works
- Start included. Both lists begin with
from:1and50. - End excluded. They stop one before
to: at4and52. - Length.
5 - 1 = 4items and53 - 50 = 3items.
