Created
          December 19, 2017 14:55 
        
      - 
      
 - 
        
Save desinas/70a29091705526859eb98d3522393847 to your computer and use it in GitHub Desktop.  
    Laugh Quiz (5-4) of Udacity FEWD
  
        
  
    
      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
    
  
  
    
  | /* | |
| * Programming Quiz: Laugh (5-4) | |
| */ | |
| var laugh = function(times) { | |
| var haTimes= ""; | |
| while (times > 0) { | |
| haTimes +="ha"; | |
| times --; | |
| } | |
| haTimes= haTimes +"!"; | |
| return haTimes; | |
| } | |
| console.log(laugh(10)); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
            
What Went Well
Feedback: Your answer passed all our tests! Awesome job!