🎁 Join my channel to get access to perks:
/ @codeexplained
🧡 Hello All JavaScript Lovers Outhere!
Today you're going to learn about the String Object In JavaScript.
This tutorial is a series of videos, in each video we will discuss a method (or more) of the String Object in JavaScript.
In today's video, you're going to learn how to create a string primitive and a string object in JavaScript, and the difference between them, and that JavaScript automatically convert a string primitive to a string object, so you can have access to all the string object methods and properties.
We will discuss the length property of string, and that it's basically the number of characters in a string.
You will also learn that strings are zero index based, which means that the first character in a string has the index zero. and because strings can be treated like arrays, we can access each character by using the index via the square brackets ( [index] ).
Example:
const str = "Code Explained";
console.log(str[5]); // logs "E"
You will also learn how to use the charAt method to access a character for a given string.
🕔 Timeline :
00:00:00 - Intro
00:00:39 - Create a string
00:02:04 - String Length Property
00:02:52 - Access String Character
00:04:39 - charAt method
🌍 Social Media Links.
◾ Facebook : / code.explained.official
◾ Twitter : / code_explained
◾ Instagram : / code.explained.official
◾ GitHub : https://github.com/CodeExplainedRepo
💲 Suppport the Channel
Paypal : https://paypal.me/CodeExplained
Buy Me a Coffee: https://www.buymeacoffee.com/CodeExpl...
Смотрите видео Introduction + charAt method | String Object In JavaScript онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Code Explained 28 Июль 2022, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 12,497 раз и оно понравилось 232 людям.