JavaScript alternative to range() function to iterate over array items

JavaScript doesn’t have a built-in range() function. This can be useful to perform an iteration a certain number of times. As an alternative to this, you can use a JavaScript array. If you don’t care about the actual values from range(), and just want to iterate “x” number of times, you can do so by … Read moreJavaScript alternative to range() function to iterate over array items