append one zero to a, I wrote 10.000, not 1.000.
why do you think so. i used recursion for my function and its was completed really fast even with a = 1000 and b=1;
Because the return value using JavaScript must be an array
Why we should return "a" as [a] ?
the performance of this recursion is very bad, for example a = 10000 and b = 1
a = 10000
b = 1
Loading collection data...
append one zero to a, I wrote 10.000, not 1.000.
why do you think so. i used recursion for my function and its was completed really fast even with a = 1000 and b=1;
Because the return value using JavaScript must be an array
Why we should return "a" as [a] ?
the performance of this recursion is very bad, for example
a = 10000
andb = 1