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 –
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. 🙏
Would love to Stay Connected with you ❤️
LinkedIn –
Instagram –
Twitter –
Facebook –
#NamasteJS #AkshaySaini
Block scope,lexical scope,block in js,scope in js,shadowing in javascript,illegal shadowing,let and const in javascript,var let const,es6 let and const,block scope,let and const scope,arrow function scope,Javascript course,Namaste javascript,akshay saini,javascript,javascript tutorials,best javascript course,javascript video series,javascript fundamentals,namaste js,javascript core concepts,advanced javascript,shadowing,let const bock scope
#BLOCK #SCOPE #amp #Shadowing #Namaste #JavaScript
0 Comments