The Story behind let, const, var keywords in JavaScript - JavaScript Scopes - Variable Declarations

Опубликовано: 20 Октябрь 2024
на канале: tapaScript by Tapas Adhikary
5,253
154

The keywords let, const, and var are widely spoken topics of JavaScript. Still, they are best explained with JavaScript Scope and two more fundamental aspects. This video is for JavaScript beginners to understand these keywords.

Timecodes
0:00 - Introduction
00:57 - Variable Declarations in JavaScript
03:04 - What is Scope in JavaScript and types?
05:07 - Block Scope and let, const, var
07:48 - Function Scope and let, const, var
09:35 - Global Scope and let, const, var
12:03 - let, const, var keywords and reassignments
13:28 - const keyword and JavaScript Object
15:41 - Access variable before declaring
17:43 - Conclusions

Blog: https://blog.greenroots.info/
Twitter:   / tapasadhikary  
LinkedIn:   / tapasadhikary  
GitHub: https://github.com/atapas

You can support my work by following me on the above platforms and/or sponsoring me using any of these links.

https://blog.greenroots.info/sponsor
https://buymeacoffee.com/greenroots
https://paypal.me/greenrootsinfo

Many Thanks 🙏