Skip to content

Latest commit

 

History

History

quiz-22

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Inline

Directions:

Call the emotions() function so that it prints the output you see below, but instead of passing the laugh() function as an argument, pass an inline function expression instead.

emotions("happy", laugh(2)); // you can use your laugh function from the previous quizzes
Prints: "I am happy, haha!"