+ 1
The result doesn't display in recursion concept
I'm making a function that take each name and salary in array and put it into array using push() method, but it doesn't work. Why this's happend and how to fix this? Please helpme!, i'm learning recursion concept now and i don't really understand with it, thank you in advance. https://code.sololearn.com/WHZR0s59Z5et/?ref=app
1 ответ
+ 2
Maybe you want to do arrPeta.push instead of element.push