Basic JavaScript - Initializing Variables with the Assignment Operator

Tell us what’s happening:

how can i do
You should initialize a to a value of 9.

Your code so far

var myVar = 0;
var a;
a = 9;
a = myVar;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/127.0.0.0 Safari/537.36

Challenge Information:

Basic JavaScript - Initializing Variables with the Assignment Operator

Welcome to the forum @ak0834664

For this step you need to initialise the variable with a value.

Take a look at the example given in the instructions.

You can safely remove the following code from the editor, as it is not needed.

Happy coding