Created
          April 3, 2019 16:33 
        
      - 
      
 - 
        
Save LukeAims/97f29836a5ee8823a64608f272b63543 to your computer and use it in GitHub Desktop.  
    Programming Quiz: Laugh (5-4)
  
        
  
    
      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(numOfHa) { | |
| var word = ""; | |
| for (i = 0; i < numOfHa; i++) { | |
| word += 'ha'; | |
| } return `${word}!`; | |
| }; | |
| console.log(laugh(10)); | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment