Problem with variable

what is the problem of this code ,
Someone please help

**my code **

// Only change code below this line
var a = 6;
var b = 15;
var c = 'I am a';
// Only change code above this line

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

Challenge: Understanding Uninitialized Variables

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 .

Are you doing this? Specifically, what are you initially setting a and b to?

I’ve edited your post for readability. When you enter a code block into a forum post, please precede it with a separate line of three backticks and follow it with a separate line of three backticks to make it easier to read.

You can also use the “preformatted text” tool in the editor (</>) to add backticks around text.

See this post to find the backtick on your keyboard.
Note: Backticks (`) are not single quotes (’).

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.