Sección 3. Capítulo 20
single
Strings 2/5
Desliza para mostrar el menú
String length:
We use the length property to check the length of the string.
1console.log(`JavaScript`.length );
Tarea
Swipe to start coding
The task is to create a string variable named running and assign the value The horse runs so fast to it. Now check the length or number of characters in the above variable.
Solución
Note: length property also considers the spaces between the string length.
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 3. Capítulo 20
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla