Тёмный

'var' declaration hoisting in JavaScript | var VS let/const 

The Code Dose
Подписаться 15 тыс.
Просмотров 2,2 тыс.
50% 1

Опубликовано:

 

22 авг 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 13   
@luce9574
@luce9574 6 месяцев назад
Hello ma'am it's an informative video thanks for it , by the way what editor or extension is that which gave that warning : x is not defined. in red color 😁
@lakshyarathore_111
@lakshyarathore_111 6 месяцев назад
The name of that extension is console ninja.
@luce9574
@luce9574 6 месяцев назад
thanks buddy , btw are you into react or any web development kind of stuff ?@@lakshyarathore_111
@dhrumilshah7710
@dhrumilshah7710 6 месяцев назад
Well explained. But Please bring advance topics. This kind of content is already there on RU-vid.
@Iamvijay23
@Iamvijay23 6 месяцев назад
As First console will print the undefiend because the declaration of x hoisted to the top and the fact that var is variable are not blocked scope and after hoisting its value initalize as 2 and in the inner block let x = 5 as we know let are block scope as the block end x =5 terminate and so the next console will print the x = 2 which is intialize in the outer block Please correct if i am wrong thank you so much 😊
@thecodedose
@thecodedose 6 месяцев назад
correct!
@Iamvijay23
@Iamvijay23 6 месяцев назад
@@thecodedose Thank you
@Atsumuedit
@Atsumuedit 6 месяцев назад
which extension do you use to show the console output
@alisajadahmadi978
@alisajadahmadi978 6 месяцев назад
Quokka.js extension
@fightflowwithcomedy3300
@fightflowwithcomedy3300 27 дней назад
why upload just shugel mela please upload complete tutorials
@thecodedose
@thecodedose 27 дней назад
What's missing?
@fightflowwithcomedy3300
@fightflowwithcomedy3300 27 дней назад
@@thecodedose complete java script in one video complete php in one video
@Barun31
@Barun31 6 месяцев назад
Wr r u from
Далее
ОБЗОР ПОДАРКОВ 🎁 | WICSUR #shorts
00:55
Differences Between Var, Let, and Const
8:37
Просмотров 187 тыс.
Learn a New Programming Language (Rust) with Me
13:26
How much JavaScript do you need to learn React?
11:30
Просмотров 4,7 тыс.
Отступники сильный момент
0:52
Просмотров 938 тыс.
Funny cats 😂 episode 51 #shorts
0:59
Просмотров 10 млн
How I come up with ideas for coding projects
8:27
Просмотров 5 тыс.