Algorithms - Factorial

In this blog, I will create a simple example for calculating factorial by using javascript and recursion.
Factorial of n is multiplication of all numbers from n to 1 where n is positive.