Understanding scope in javascript (Javascript interview question)

preview_player
Показать описание
In this video, I will be discussing one of the important concept and mostly asked interview question - scope in javascript in detail. I have used simple and easy-to-understand examples to illustrate what scope is and the different types of scope.
We'll go through the following:
1. Global scope
2. Block scope
3. Function scope
4. Lexical scope.

Hope you liked this video. Please drop your feedback and questions in the comments section, I'd love to interact with you guys. Subscribe to code spot for more videos on programming.

Thanks for watching

Follow me on Instagram

Рекомендации по теме
Комментарии
Автор

loved the way you explained it, Thanks!.

anjanikalyan
Автор

Nicely explained with examples. Thank you.

suman
Автор

Very nice madam, keep teaching us more advanced javascript concepts in real-time. Thank you.

abdulaziz
Автор

Love the video Mam, but due to the high background music, I am unable to listen to you properly.

mohdzaid
Автор

Loved the video! I learnt something in JavaScript! Awaiting future videos ✨

swethakannan
Автор

You explain so well i like you very much.

TOP-wul
Автор

You should do more videos....your explaination was very gudddd

narendrareddy
Автор

Is variable declared with let and const outside the function a global variable??
thanks for the video

durgesh_gupta_billioner
Автор

Good JOB but i would like to ask you something

aboudeh_