Understanding Uninitialized Variables (undefining c var)

Understanding Uninitialized Variables (undefining c var)
0

#1

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:


#2

A String should be in " marks.


#3

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


#4

What did you actually write?

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


Instructions

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



#5

got it finally ,thnx