Posts by laerciogj • 73 points
1 post
-
7
votes2
answers2689
viewsQ: Recursive Functions in Javascript
Could someone please clear me of a doubt ! function recursiveFatorial(x){ if (x == 0) return 1; else return x * recursiveFatorial(x-1); } console.log("Resultado da funcao recursiveFatorial:…