MENU

Fun & Interesting

BLOCK SCOPE & Shadowing in JS 🔥| Namaste JavaScript 🙏 Ep. 9

Akshay Saini 609,363 4 years ago
Video Not Working? Fix It Now

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 - https://www.linkedin.com/in/akshaymarch7 Instagram - https://www.instagram.com/akshaymarch7 Twitter - https://twitter.com/akshaymarch7 Facebook - https://www.facebook.com/akshaymarch7 #NamasteJS #AkshaySaini

Comment