Dont understand when it say set the value when i already think i did

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

``````   **Your code so far**
``````
``````// Only change code below this line
var a;
var b;
var c;
a = a + 6;
b = b + 9;
c = "I am a";
// Only change code above this line

a = a + 1;
b = b + 5;
c = c + " String!";
``````
``````   **Your browser information:**
``````

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

Challenge: Understanding Uninitialized Variables

…?

You haven’t initialized `a` or `b` at this point, so these lines won’t generate meaningful results.

how i post to initialized a or b?

Same way you did here.

is this right? a = 6; b = 15;

Did it pass the tests?

no im confused on it

If it doesn’t pass the test, it’s not right!

Initialize the three variables `a`, `b`, and `c` with `5`, `10`, and `"I am a"` respectively so that they will not be `undefined`

You are initializing a to 6 and b to 15.

honestly what do you mean by that a=6 b=15? if that is it dont work

Yes, that doesn’t work. That’s exactly what I said.

The instructions say to use 5 and 10, not 6 and 15.

variable a, b, an c are undefined and you need to give them values of 5, 10 and “I am a” respectively. The variables are already written out for you, So just go ahead and use = after the variable name like so:
var a = 5;

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