JavaScript básico - Declara variables de JavaScript

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

Tu código hasta el momento

var myName = '';



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/117.0.0.0 Safari/537.36 Edg/117.0.2045.47

Desafío: JavaScript básico - Declara variables de JavaScript

Enlaza al desafío:

It’s valid in JavaScript, but it depends on what you want to achieve. In this code, you have declared a variable called myName and initialized its value as an empty string ‘’. This means that myName now contains an empty string.

You are not asked to assign the variable a value, only declare it.