synaestheory 3247 days ago. link 1 point ▲ ▼Extend this to create any int range by wrapping it like so... `const range = (min, max) => Array.apply(null,{length:max - min + 1}).map((val,i) => min + i)` Excellent usage of Array.apply