Understanding Uninitialized Variables (undefining c var)

Understanding Uninitialized Variables (undefining c var)


The values are assigned as instructed to variables,help me in undefining c var

Your code so far

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

// Do not change code below this line

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

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:47.0) Gecko/20100101 Firefox/47.0.

Link to the challenge:


A String should be in " marks.


please send me the exact code to crack this challenge, tried using " marks,its not working out


What did you actually write?

You have a second problem. Re-read the instructions and make sure you initialise c correctly.


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


got it finally ,thnx


whats is the exact answer?


You are not required to complete the challenges to progress. If you want help use the “Ask for help” button in the challenge, which will create a list with your own code, and you will get some hints on how to get a better answer.

The goal is not to write down the right answer, but for you to be able to reach the right answer. (Otherwise how could you create your own projects?)