Javascript Range Function
29 October 2021
Updated: 03 September 2023
Something i often find myself needing is a way to create a range in javascript, similar to what python has
Here’s a basic implementation of something that works like that:
The above will output something like: