A simple JavaScript program for finding the factorial of a number.