Posts by Lucas Mateus Menezes Silva • 1 point
2 posts
-
-1
votes1
answer16
viewsQ: Problem with function Undefined return
Good evening, I made the following algorithm in Javascript: var res = 1; console.log(fatorial(3)); function fatorial(n){ if(n == 1){ console.log(res); return(res); }else{ res *= n; fatorial(n - 1);…
-
0
votes0
answers40
viewsQ: Calling function that is inside another
Html: <html> <head> <title> Caixa Eletrônico </title> <meta charset="utf-8"> <link rel="icon"…