Problem: want to generate an array containing all values up to a number. Solution: Found here […Array(n).keys()]