Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function FirstFactorial(num) {
- var finalNum = 0;
- for(i = num; i < num; i--) [
- finalNum *= i;
- }
- // code goes here
- return finalNum;
- }
- // keep this function call here
- // to see how to enter arguments in JavaScript scroll down
- FirstFactorial(readline());
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement