[JS] recursion issue [solved]

issue is solved . Thanks for helping me

please explain what your function should do, it is impossible to help with just the output

With my funtion i want to make two arrays. Later in my code i am summing them up. The function should increment the second array up untill the length of 10

Thanks for the tip :slight_smile:

still not enough info
increment how? what should go there

please explain the steps in detail

do you want to change both arrays?
with a for of, I would imagine so.

Otherwise you can just operate on second array