Let & const Block Scope in-depth tutorial covers what is a Block, Scope, and Block Scope in JavaScript. With live code examples and detailed explanations, we also will see what is Shadowing in JavaScript. We also talk about Illegal Shadowing and how different variable declarations using var, let and const behave differently when initialized in the Block Scope.
Block Scope has a lexical behavior and also follows rules of the Lexical Scope chain. This video covers everything that happens under the hood. The video is a little long but I REQUEST YOU to watch it fully, this concept will help us in later videos. 🙏
My tech gear I use every day - http://google.peek.link/2pba
Topics covered :
00:00 - Introduction - Block in JavaScript Interview Question
00:43 - What is a block in JavaScript?
04:09 - What is a Block Scope and Lexical Scope Chain
07:59 - What is Shadowing in JavaScript
14:22 - Illegal Shadowing in JS
16:46 - Lexical Block Scope with Code Examples
18:40 - Arrow Functions Scope and the
19:09 - Teaser of the next Surprise Video
19:16 - Thank you for watching Namaste JavaScript 🙏
Support this video series, NOT BY MONEY, but by sharing it with your friends. 🙏
I'll give my best to come up with great content and everything absolutely for free on YouTube. 😊
If you are active on Social Media,
please give a shoutout to Namaste JavaScript and help me reach more people. 🙏
Cheers,
Akshay Saini
http://akshaysaini.in
Would love to Stay Connected with you ❤️
LinkedIn - / akshaymarch7
Instagram - / akshaymarch7
Twitter - / akshaymarch7
Facebook - / akshaymarch7
#NamasteJS #AkshaySaini
Watch video BLOCK SCOPE & Shadowing in JS 🔥| Namaste JavaScript 🙏 Ep. 9 online, duration hours minute second in high quality that is uploaded to the channel Akshay Saini 07 November 2020. Share the link to the video on social media so that your subscribers and friends will also watch this video. This video clip has been viewed 589,918 times and liked it 26 thousand visitors.