Understanding Uninitialized Variables i dont understand

Understanding Uninitialized Variables i dont understand
0

#1

Tell us what’s happening:

Your code so far


// Initialize these three variables
var a= 5;
var b= 10;
var c= " I am a ";

// Do not change code below this line

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

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36.

Link to the challenge:
https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/basic-javascript/understanding-uninitialized-variables


#2

Do you not understand the instructions? What exactly do you not understand?


#3

I think this:

var c= " I am a ";

should be

var c= "I am a";

The extra spaces throw off the test.


#4

everything passes except for the c variable


#5

thank you i did not notice that.


#6

Like I always joke, “The problem with computers is that they always do exactly what you tell them to.”

Part of being a web developer is picking out little tiny details. In a few recent interviews, I’ve gotten points for noticing little details like that, apparently details that other interviewees didn’t catch. Just make it a habit - read things very closely.