Understanding Case Sensitivity in Variables

Understanding Case Sensitivity in Variables
0

#1

Tell us what’s happening:

Your code so far

// Declarations
var studlycapVaR;
var properCamelCase;
var titleCaseOver;

// Assignments
studlycapVar = 10;
properCamelCase = "A String";
titleCaseOver = 9000;

Your browser information:

Your Browser User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/60.0.3112.90 Safari/537.36.

Link to the challenge:


#2

You need to make 3 changes to your code. Your studlycapVaR is not in camelCase format in both the Declarations section and Assignments section of your code.


#3

I found the answer to that challenge. It took me a while but I figured it out.

// Declarations
var studlyCapVar = 10 + camelCase;
var properCamelCase;
var titleCaseOver;
var camelCase;

// Assignments
studlyCapVaR = 10;
properCamelCase = “A String”;
titleCaseOver = 9000;
camelCase = studlyCapVar = 10;


#4

as they have mentioned : “Do not create any new variables.”

but you did create camelCase ?
could you explain why ?