Understanding Uninitialized Variables help me

Tell us what’s happening:

Your code so far

// Initialize these three variables
var a = 6;
var b = 15;
var c;

// Do not change code below 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) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.121 Safari/537.36.

Link to the challenge:

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

So, you did right in initialising a value, you are just using the wrong value

Look again at the instructions (copies up here) so you can use the right values, and also initializec

1 Like

Hope this works for you !

1 Like

You don’t need to put a mathematical operation there, you can just put there the asked value…

reverse engineering… helped me often as whell… although if it is against guide lines let me know. peaceful grtz

You are giving an extra operation to do, it is not wrong it is just not necessary