The first object in this exercise is confusing

Tell us what’s happening:
At first glance, I was confused about how to camelCase the first line. I cannot tell where the separated words were and had to visit the forums to look up the answer. Has anybody else experienced this? In my case, I had no idea “studly” was a word.

Your code so far


// Variable declarations
var StUdLyCapVaR;
var properCamelCase;
var TitleCaseOver;

// Variable assignments
STUDLYCAPVAR = 10;
PRoperCAmelCAse = "A String";
tITLEcASEoVER = 9000;

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/98.0.4758.102 Safari/537.36 Edg/98.0.1108.56

Challenge: Understanding Case Sensitivity in Variables

Link to the challenge:

The expected variable names are all listed in the tests:

studlyCapVar should be defined and have a value of 10 .

properCamelCase should be defined and have a value of the string A String .

titleCaseOver should be defined and have a value of 9000 .

studlyCapVar should use camelCase in both declaration and assignment sections.

properCamelCase should use camelCase in both declaration and assignment sections.

titleCaseOver should use camelCase in both declaration and assignment sections.

1 Like