let vs. var in JavaScript - What's the difference?

preview_player
Показать описание
In this video we take a look at the difference between let and var in JavaScript - the two ways to declare variables.

"var" is a lot older than "let" and is much less restricted - using let allows for higher quality code that is consistent with many other languages.

Support me on Patreon:

For your reference, check this out:

Follow me on Twitter @dcode!

If this video helped you out and you'd like to see more, make sure to leave a like and subscribe to dcode!
Рекомендации по теме
Комментарии
Автор

This video is for 5 years ago but help me a lot so under rated keep it up man✌

abolfazlsoheily
Автор

so simple so easy to understand thanks

istiaksaad
join shbcf.ru