Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 332 Bytes

readme.md

File metadata and controls

7 lines (5 loc) · 332 Bytes

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!"