Data Types in JavaScript | JavaScript Complete Course for beginners
Data Types in JavaScript | JavaScript Complete Course for beginners
In this video we'll talk about the data types of JavaScript. Basically there are 7 data types in JavaScript.
1. String.
2. Number.
3. Boolean.
4. Array.
5. Object.
6. Null
7. Undefined.
1. String:-
String is text in JavaScript. what you reading here is text and in JavaScript it is called string. String has own properties and method to do different operation on it. Like, finding a character or characters in a string, convert it to lower case or upper case, replace some part of string with another string and so on.
2. Numbers:-
Mathematical numbers also called numbers in JavaScript. we can add, subtract, multiply, round a number, divide and a lot things do with numbers.
3. Boolean:-
Boolean has two possible value true or false. It is used in conditions.
4. Array:-
Array is a special data type with the help of array we can store multiple values to a single variable. Array is just like a list. Array also has a lot of methods and properties to different operation on it. Like: fine the length of array, find a specific element in Array, remove an element from array, add an element to array and so on.
5. Object:-
Object is just like Array but a little different in array we can store only value, and the value get index according to its position in the array and then we can access to that value using array name followed by the index of the value. But in object we can store data with "key: value" and the we can access to the value using the object name followed by the key.
6. Null:-
Null means completely absence of the data. I hope you will be understood what am I say here. Null have no value.
8. Undefined:-
Undefined means the value of the variable is not defined. When we declare a variable but not assign a value to it, undefined will assign to it automatically.
In this video I explained all of these with examples and also I talked about the 'typeof' operator in JavaScript, which tell us the type of a data.
stay with us for learning complete JavaScript.
Playlist:- https://www.youtube.com/playlist?list=PL7q1aS22JsDvecJ0hBGX6ClOc48rQpnxq
Watch the video enjoy coding...
Subscribe the channel....
Like and Share the video...
Thanks...
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Data Types in JavaScript | JavaScript Complete Course for beginners», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.