freecodecamp.cn
freecodecamp.cn copied to clipboard
这个怎么解?
Challenge Understanding Case Sensitivity in Variables has an issue.
User Agent is: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/59.0.3071.86 Safari/537.36.
Please describe how to reproduce this issue, and include links to screenshots if possible.
My code:
// 初始化变量
var StUdLyCapVaR;
var properCamelCase;
var TitleCaseOver;
// 给变量赋值
STUDLYCAPVAR = 10;
PRoperCAmelCAse = "A String";
tITLEcASEoVER = 9000;
var studlyCapVar = 10;
var properCamelCase = 'A String';
var titleCaseOver = 9000;
请仔细读题。你的代码中,赋值那里的变量都不存在,如何赋值? 前三行是定义变量,后面是赋值。你不应该再后面再加三行