Uninitialized Variables

Tell us what’s happening:

Please, any help me???

Your code so far

// Initialize these three variables
var a;
var b;
var c;

// Do not change code below this line

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

//

var a = 5;
var b = 10;
var c = " I am a";

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

In the results, I get this:
X = fail/error

ok - a should be defined and have a value of 6
ok - b should be defined and have a value of 15
X - c should not contain undefined and should have a value of “I am a String!”
ok - Do not change code below the line

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:59.0) Gecko/20100101 Firefox/59.0.

Link to the challenge:
https://www.freecodecamp.org/challenges/understanding-uninitialized-variables

You are not supposed to be adding any code below that line, yet you did.

Also, you only should be modifying the original 3 lines (shown below):

var a;
var b;
var c;

Hey,

I got it. although I did not understand the question before, but I solved it.
Thank you so much. :smile:

Results:

var a = 5;
var b = 10;
var c = " I am a";

a = a + 1;
b = b + 5;
c = “I am a” + " String!";