facto Javascript implementation for factorial Returns the result of the factorial operation. HowTo: Include facto.js Call 'facto' function, passing a single parameter as value.