Im trying to initialize the three variables these three variables please can you help

Your code so far


// Only change code below this line
var a = 5;
var b = 10;
var 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 (Windows NT 10.0; Win64; x64; rv:96.0) Gecko/20100101 Firefox/96.0

Challenge: Understanding Uninitialized Variables

Link to the challenge:

Failing test says:

c should not contain undefined and should have a value of the string I am a String!

If you put:

console.log(c)

then you can see what it is being set to.

When I did that, and fixed the issue by changing a character, it passed for me.

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