https://codetofun.com/js/factorial-of-a-number/
JavaScript Program to find Factorial of a Number