I am trying to create an array of numbers from a given number down to zero and thought I could create this array from this for loop. In my editor I get the error
“Argument of type ‘number’ is not assignable to parameter of type ‘never’.”
Any idea why this is?