0

What is recursion in Javascript

8th Jul 2023, 6:04 PM
Ayato Sakamaki
Ayato Sakamaki - avatar
1 Resposta
+ 5
Recursion is a problem-solving technique in programming. A recursive function is a function that calls itself somewhere within the body of the function. Below is a basic example of a recursive function. function recursiveFunc() { // some code here... recursiveFunc() }
8th Jul 2023, 6:40 PM
JaScript
JaScript - avatar