This website requires JavaScript.
Explore
Help
Register
Sign in
aparler
/
RosettaCodeData
Watch
1
Star
0
Fork
You've already forked RosettaCodeData
0
Code
Issues
12
Pull requests
3
Projects
Releases
Packages
Wiki
Activity
Actions
2023
RosettaCodeData
/
Task
/
Multifactorial
/
JavaScript
/
multifactorial-4.js
4 lines
85 B
JavaScript
Raw
Permalink
Normal View
History
Unescape
Escape
A-M baby
2013-04-10 21:29:02 -07:00
function
multifact
(
n
,
deg
)
{
September 2017 Update
2017-09-23 10:01:46 +02:00
return
n
<=
deg
?
n
:
n
*
multifact
(
n
-
deg
,
deg
)
;
A-M baby
2013-04-10 21:29:02 -07:00
}
Reference in a new issue
Copy permalink