Return the factorial of the provided integer.
If the integer is represented with the letter n, a factorial is the product of all positive integers pless than or equal to n.
Factorials are often represented with the shorthand notation n!
For example: 5! = 1 * 2 * 3 * 4 * 5 = 120.
Here are some helpful links:
function factorialize(num) {
var factorial = 1;
for (num; num > 1; num--) {
factorial *= num;
}
console.log('RETURN => ', factorial);
overlay(factorial);
return factorial;
}