Mark As Completed Discussion

Try this exercise. Fill in the missing part by typing it in.

To create a function in JavaScript, we use the __________ keyword followed by the name of the function and a set of parentheses. Any parameters that the function takes in are listed within these parentheses. We can also define a block of code to be executed within curly braces {}.

Write the missing line below.