We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8e92109 commit 95c601dCopy full SHA for 95c601d
jive/func.js
@@ -2,5 +2,6 @@ function r(n, k) {
2
return Array.from({length:k-n}, (_,i)=>n+i)
3
}
4
function fact(n){
5
- //alert. Will be worked on soon
+ t2 = t = n ; while (t2 > 1){t2 -= 1;t *= t2}
6
+ return t2
7
0 commit comments