0 of 8 problems solved • 0%
Use in a course

Exercise prompt

Add a Parameter

A parameter is a name for information a function receives. It is written inside the declaration's parentheses and can be used in the function body.

Example

function greet(name) { console.log("Hello", name); } greet("Sam");

The argument "Sam" becomes the parameter name during the call.

Your task

Complete showStudent so its call displays Student: Mira.