Challenge: Define the VariableChallenge: Define the Variable


  1. Define a variable named myVar and assign the value 15 to it.
  2. Print the variable myVar to the console.
1. Use the let keyword to declare a variable.
2. Assign the value 15 to the variable using the assignment operator (=).
3. Use the console.log() function to print the value of the variable to the console.

let myVar = 15;

Everything was clear?

Section 2. Chapter 2