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

Описание к видео let vs. var in JavaScript - What's the difference?

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:
  / dcode   - with enough funding I plan to develop a website of some sort with a new developer experience!

For your reference, check this out:
https://developer.mozilla.org/en-US/d...

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!

Комментарии

Информация по комментариям в разработке