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

Exercise prompt

Name a Value

A variable gives a value a useful name. Use const when that name should keep referring to the same value.

Example

const teacherName = "Sam"; console.log(teacherName);

The console displays the value stored under teacherName. Your variable has a different name and value.

Your task

Declare studentName as a constant containing Mira. The existing console call should print the stored value.