Tell us what’s happening:
It isn’t working
Your code so far
// Only change code below this line
var a = 6;
var b = 15;
var c = "I am a string!";
// Only change code above this line
a = a + 1;
b = b + 5;
c = c + " String!";
Your browser information:
User Agent is: Mozilla/5.0 (Linux; Android 7.1.2; KFKAWI) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.96 Safari/537.36.
Challenge: Understanding Uninitialized Variables
Link to the challenge:
Hi, pay atention to the structions:
Initialize the three variables a , b , and c with 5 , 10 , and "I am a" respectively so that they will not be undefined .
you variable a and b has the wrong value.
and the value c has to return “I am a String!”, in the line 9 the operator is adding " String!" so you have to give “C” the initial value that is missing.
What about A&B it won’t work.
A doesn´t work because the initial value has to be 5, you put 6.
B doesn’t work because the initial value has to be 10, you put 15