Tell us what’s happening:
Your code so far
// Only change code below this line
var a = 5;
var b = 10;
var c = "I ma a";
// Only change code above this line
a = a + 1;
b = b + 5;
c = c + " String!";
Challenge: Understanding Uninitialized Variables
Link to the challenge:
The instructions said to initialize c with “I am a”. This is what you have:
var c = "I ma a";
Do you see the problem?
// Only change code below this line
var a = 5; // initialize with 5
var b = 10; //initialize with 10
var c = "I am a"; //initialize with "I am a"
// Only change code above this line
a = a + 1;
b = b + 5;
c = c + " String!";
You need to initialize variable with 5, 10 and “I am a” yourself!
We usually try to not give the answers immediately, letting people learn. I blurred the answer to give him a chance.