Basic JavaScript - Initializing Variables with the Assignment Operator

Tell us what’s happening:
Describe your issue in detail here.

Your code so far

var myVar = 0;
var num = 9;

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36

Challenge: Basic JavaScript - Initializing Variables with the Assignment Operator

Link to the challenge:

Define a variable a with var and initialize it to a value of 9 .

Does your code do what the instructions ask for?

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.