0
What is recursion in Javascript
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()
}