Javascript variable initialization

Tell us what’s happening:

what is wrong with this code?

Your code so far


// Only change code below this line
var a = 5;
var b = 10;
var c = "1 am a";
// Only change code above this line

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


Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36.

Challenge: Understanding Uninitialized Variables

Link to the challenge:

You have a small typo in this string.

alright, thank you soo much.

1 Like