1 line of code: How to create a range array
const createRange = (from, to) =&gt; Array.from({ length: to - from + 1 }, (_, i) =&gt; from +...
Tags: javascript, webdev, performance, codequality