Draft

Factorial Recursive

Description:

Write the "Factorial" function recursively, without using a loop:

function factorial (n) {  }

A factorial is the product of a positive number and all the numbers below it.

So the factorial of 4 equals 4 x 3 x 2 x 1 = 24.

The factorial of 1 equals 1.

Stats:

CreatedSep 24, 2016
Warriors Trained95
Total Skips0
Total Code Submissions211
Total Times Completed52
JavaScript Completions52
Total Stars0
% of votes with a positive feedback rating48% of 24
Total "Very Satisfied" Votes7
Total "Somewhat Satisfied" Votes9
Total "Not Satisfied" Votes8
Total Rank Assessments16
Average Assessed Rank
7 kyu
Highest Assessed Rank
6 kyu
Lowest Assessed Rank
8 kyu
Ad
Contributors
  • kutyel Avatar
Ad