#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
On this page of the site you can watch the video online String in JavaScript | Escape Character#1 with a duration of hours minute second in good quality, which was uploaded by the user stepUP 15 May 2021, share the link with friends and acquaintances, this video has already been watched 621 times on youtube and it was liked by like viewers. Enjoy your viewing!