Update factorial.js
parent
af47764be0
commit
2990d6a0b8
|
@ -15,3 +15,4 @@ function factorial(n) {
|
||||||
|
|
||||||
console.log(factorial(5));
|
console.log(factorial(5));
|
||||||
// output: 120
|
// output: 120
|
||||||
|
//
|
||||||
|
|
Loading…
Reference in New Issue