#Shorts
Watch this JavaScript tutorial for beginners to learn JavaScript basics in short video.
______
🙌 Subscribe my channel
/ @stepup6729
______
👍JavaScript strings are used for storing and manipulating text.
A JavaScript string is zero or more characters written inside quotes.
👍A JavaScript string stores a series of characters like "Hello World".
A string can be any text inside double or single quotes:
let firstName = "JavaScript";
let lastName = 'String';
String indexes are zero-based: The first character is in position 0, the second in 1, and so on.
👍Escape Character
Because strings must be written within quotes, JavaScript will misunderstand this string:
The solution to avoid this problem, is to use the backslash escape character.
The backslash (\) escape character turns special characters into string characters:
#Shorts #JavaScript #String
Nesta página do site você pode assistir ao vídeo on-line String in JavaScript | Escape Character#1 duração hora minuto segundo em boa qualidade , que foi baixado pelo usuário stepUP 15 Maio 2021, compartilhe o link com seus amigos e conhecidos, no youtube este vídeo já foi visto 621 vezes e gostou like espectadores. Boa visualização!