Basic JavaScript - Initializing Variables with the Assignment Operator

Tell us what’s happening:
Describe your issue in detail here.
I’d like to know what I did wrong.

Your code so far

var a;
a = 9;

Your browser information:

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

Challenge: Basic JavaScript - Initializing Variables with the Assignment Operator

Link to the challenge:

You want to do this all in one statement, not two.

2 Likes

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