DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
factorial js
function factorial(n) { return (n + 1) * (n / 2); }
Source by www.freecodecamp.org #
PREVIOUS
NEXT
Tagged:
#factorial
#js
ADD COMMENT
Topic
COMMENT
Name
2+4 =
Submit