DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
factorial javascript function
function factorialize(num) { if(num < 2) return 1; return num *= factorialize(num - 1); }
Source by forum.freecodecamp.org #
PREVIOUS
NEXT
Tagged:
#factorial
#javascript
#function
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit