Understanding Uninitialized Variables try and try

Tell us what’s happening:

Your code so far


// Initialize these three variables
var a=5;
var b=10;
var c=  "I am a";
// / Do not change code below this lin

a = a + 1;
b = b + 5;
c= c+"string!";

Your browser information:

// running tests

c should not contain undefined and should have a value of “I am a String!”

Do not change code below the line

// tests completed

You have changed this, now I don’t know if the other test failing is just for how you edited this, but now c is"I am astring!", few differences to what the tests expect

To be sure of not changing anything below the line I would suggest resetting your code and writing your solution again

1 Like

Thanks bro it it worked