MYVAR no es lo mismo que MyVar ni myvar . Es posible tener múltiples variables distintas con el mismo nombre pero con una carcasa diferente. Se recomienda encarecidamente que, para mayor claridad, no utilice esta función de idioma. var someVariable;
var anotherVariableName;
var thisVariableNameIsSoLong;
studlyCapVar está definido y tiene un valor de 10
testString: 'assert(typeof studlyCapVar !== "undefined" && studlyCapVar === 10, "studlyCapVar is defined and has a value of 10");'
- text: properCamelCase está definido y tiene un valor de "A String"
testString: 'assert(typeof properCamelCase !== "undefined" && properCamelCase === "A String", "properCamelCase is defined and has a value of "A String"");'
- text: titleCaseOver está definido y tiene un valor de 9000
testString: 'assert(typeof titleCaseOver !== "undefined" && titleCaseOver === 9000, "titleCaseOver is defined and has a value of 9000");'
- text: studlyCapVar debe usar camelCase en las secciones de declaración y asignación.
testString: 'assert(code.match(/studlyCapVar/g).length === 2, "studlyCapVar should use camelCase in both declaration and assignment sections.");'
- text: properCamelCase debe usar camelCase en las secciones de declaración y asignación.
testString: 'assert(code.match(/properCamelCase/g).length === 2, "properCamelCase should use camelCase in both declaration and assignment sections.");'
- text: titleCaseOver debe usar camelCase en las secciones de declaración y asignación.
testString: 'assert(code.match(/titleCaseOver/g).length === 2, "titleCaseOver should use camelCase in both declaration and assignment sections.");'
```