Guest User

Untitled

a guest
May 25th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.12 KB | None | 0 0
  1. // FActorial program with recursion
  2.  
  3. function fact(n){
  4. if(n >= 1){return n * fact(n - 1);}
  5. else return 1;
  6. }
  7.  
  8. fact(4);
Add Comment
Please, Sign In to add comment