Necesito ayuda con este ejercicio ya que siento que es confuso y trato de resolverlo y no puedo ayuda por favor

Cuéntanos qué está pasando:
Describe tu problema en detalle aquí.

Tu código hasta el momento


// Variable declarations
var studlyCapVar ;
var properCamelCase ;
var titleCaseOver;

// Variable assignments
var studlyCapvarCamelCase = 10;
var properCamelCase = "A String";
var titleCaseOver = 9000;

Información de tu navegador:

El agente de usuario es: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/92.0.4515.107 Safari/537.36

Desafío: Comprendiendo la sensibilidad de mayúsculas en las variables

Enlaza al desafío:

You have two issues here.

First, you’re declaring your variables twice. This is wrong:

var myName = 'Kevin'
var myName = 'Ferney'

That is a mistake because it was already declared and you can’t declare it again. This would be correct:

var myName = 'Kevin'
myName = 'Ferney'

Here, you declare (and initialize) it on the first line and on the second line, we’re just reassigning (changing) it. That is what you want for your code above - only use var once on each variable.


The second problem is a spelling error here:

studlyCapvarCamelCase = 10;

If I fix those problems, your code passes for me.

aun no puedo resolverlo se me a dificultado, cambio las mayúsculas por las minúsculas, pongo el camelCase y aun así no lo resuelvo es muy confuso este ejercicio

Can you share your updated code so we can assist you further?

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.