Learn the difference between var, let and const - JavaScript Basics You Must Know

preview_player
Показать описание
JavaScript variables declared using ES6's let and const are block-scoped.
Рекомендации по теме
Комментарии
Автор

Nice video. There are so many people who draw out these video's for the as long as they can. Thx for keeping it short mate, and keep up the great work.

mpost
Автор

Very Helpful....

U Cover All Things In 3 mins...

Keep It Up

Good Luck !!!

kasunchamara
Автор

Gotta try to access var from outside a function block (I know you can access from within a function in different blocks) .... Nice video leaving viewers some homework and not explaining everything which is actually not a bad thing cause then it's less likely that people like me would try anything .... Good job 👍

truthShallPrevailRRVS
Автор

awesome explanations .Thanks a lot bro

vidhyac
Автор

Concise, clear and much appreciated, thank you!

ooooobpbpbpooooo
Автор

useful tutorial brother . may Allah bless you. thank you.

samsar
Автор

Thanks for a short and concise explanation! Which environment do you use to run the js you just typed? It looks a bit like sublimetext to me, but where does the console come from - is that built in to the text editor? I'd like to try that too, looks very handy!

JonasEllehauge
Автор

Const variables are not immutable. Only their references or bindings are, don’t throw around the term immutability in a language like JavaScript

mickey