JavaScript program to find the factorial of a number:

Created with Sketch.