Yes, if you print the value to the console but the recursion came back as undefined is because you aren't returning the call to the function normally.
You're doing recursion wrong.
Don't modify the input.
Loading collection data...
Yes, if you print the value to the console but the recursion came back as undefined is because you aren't returning the call to the function normally.
You're doing recursion wrong.
Don't modify the input.