factorial() -> Int

Return the factorial of int

Returns

Factorial of int

5.factorial()
// -> 120
0.factorial()
// -> 1