Strings 2/5
String length:
We use the length
property to check the length of the string.
1console.log(`JavaScript`.length );
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.
Solução
Note: length
property also considers the spaces between the string length.
Obrigado pelo seu feedback!
single
Pergunte à IA
Pergunte à IA
Pergunte o que quiser ou experimente uma das perguntas sugeridas para iniciar nosso bate-papo
Awesome!
Completion rate improved to 2
Strings 2/5
Deslize para mostrar o menu
String length:
We use the length
property to check the length of the string.
1console.log(`JavaScript`.length );
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.
Solução
Note: length
property also considers the spaces between the string length.
Obrigado pelo seu feedback!
Awesome!
Completion rate improved to 2single