Skip to content

Instantly share code, notes, and snippets.

View dbess1's full-sized avatar

Delante Lee Bess dbess1

  • Boston; NY; SF; Chicago
View GitHub Profile
// Bonfire: Factorialize a Number
// Author: @dbess1
// Challenge: http://www.freecodecamp.com/challenges/bonfire-factorialize-a-number
// Learn to Code at Free Code Camp (www.freecodecamp.com)
function factorialize(num) {
if(num === 0){
return 1;
}