Last active
          November 22, 2015 22:16 
        
      - 
      
- 
        Save dmidlo/30d25a46e9e765f07034 to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | function factorialize(num) { | |
| var product = 1; | |
| for(i = 1;i<=num;i++) | |
| { | |
| product = product * i; | |
| } | |
| return product; | |
| } | |
| factorialize(5); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment