Tell us what’s happening: Your code so far
Someone vividly explain to me the whole thing.
// Only change code below this line
var a;
var b;
var c;
// Only change code above this line
a = a + 1;
b = b + 5;
c = c + " String!";
This is my current output.
var a = 6;
var b = 15;
var c= 'I am a';
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Firefox/102.0
// Only change code below this line
var a;
var b;
var c;
// Only change code above this line
a = 5+ 1;
b = 10 + 5;
c = "I am a" + " String!";
a=6;
b=15;
c= 'I am a String!'
Friend, freecodecamp in comments says to us what we have to do! We all have to do only this!
You have to change code between these two comment lines!
You have to change var to let or const.
But you did another thing and just repeat value of variables.
a = 5+ 1; Value is 6
But you made new assign with the same value! a=6;