Difference between Let , Var, and Const in Java Script | Hindi || Zero to Hero
Details About Var In JS . :-)
1 - var is function-scoped, which means it's only accessible within the function where it's declared or globally if declared outside of any function.
2 - Variables declared with var are hoisted, which means they are moved to the top of their containing function or global scope during compilation. However, they are not initialized until the code execution reaches the actual declaration.
3 - Variables declared with var can be redeclared within the same scope, and their values can be changed.
Detail About Let in JS :-)
1 - let is block-scoped, which means it's only accessible within the block (enclosed by curly braces) where it's declared.
2 - Variables declared with let are not hoisted in the same way as var. They are hoisted to the top of their block, but they are in a "temporal dead zone" until the actual declaration is reached. Accessing them before declaration results in a ReferenceError.
3 - Variables declared with let cannot be redeclared within the same scope, but their values can be changed.
Detail Aboit Const In JS.
1 - const is also block-scoped like let.
2 - Variables declared with const must be initialized when declared, and their values cannot be changed after initialization. They are constant.
3 - Like let, variables declared with const are not hoisted, and they are in the temporal dead zone until the actual declaration.
02:00 What is Var In javascript
05:30 What is the let in Javascript
06:30 What is Const in JS
#javascript , #let , #var , #const , #zerotohero , #hindi , #javaprogramming , #codeandtech
Что делает видео по-настоящему запоминающимся? Наверное, та самая атмосфера, которая заставляет забыть о времени. Когда вы заходите на RUVIDEO, чтобы посмотреть онлайн «Difference between Let , Var, and Const in Java Script | Hindi || Zero to Hero», вы рассчитываете на нечто большее, чем просто загрузку плеера. И мы это понимаем. Контент такого уровня заслуживает того, чтобы его смотрели в HD 1080, без дрожания картинки и бесконечного буферизации.
Честно говоря, Rutube сегодня — это кладезь уникальных находок, которые часто теряются в общем шуме. Мы же вытаскиваем на поверхность самое интересное. Будь то динамичный экшн, глубокий разбор темы от любимого автора или просто уютное видео для настроения — всё это доступно здесь бесплатно и без лишних формальностей. Никаких «заполните анкету, чтобы продолжить». Только вы, ваш экран и качественный поток.
Если вас зацепило это видео, не забудьте взглянуть на похожие материалы в блоке справа. Мы откалибровали наши алгоритмы так, чтобы они подбирали контент не просто «по тегам», а по настроению и смыслу. Ведь в конечном итоге, онлайн-кинотеатр — это не склад файлов, а место, где каждый вечер можно найти свою историю. Приятного вам отдыха на RUVIDEO!
Видео взято из открытых источников Rutube. Если вы правообладатель, обратитесь к первоисточнику.