+ 1

Can you open the same function in a function.

30th Mar 2018, 10:30 AM
David Müller
David Müller - avatar
2 odpowiedzi
+ 3
Yes, it's called recursion.
30th Mar 2018, 10:40 AM
Kevin Eldurson
Kevin Eldurson - avatar
+ 2
Here's an example (Factorial in JS): https://code.sololearn.com/Wx754OKasSMc/?ref=app
30th Mar 2018, 10:45 AM
Kevin Eldurson
Kevin Eldurson - avatar