Execution Context in JavaScript Explained in Depth | The Complete JavaScript Course | Ep.30

preview_player
Показать описание


📖 Chapters
00:00 Introduction
01:33 What is code execution context
02:48 Why we didn't studied code execution context before?
03:22 Wlobal execution context explained
08:25 Used function and debugger
12:17 Changed variable declaration const to var
21:53 Local execution context
33:20 Global execution context summary
37:15 Deep nesting of execution context
51:27 Execution context summary

Special thanks to @omdeshkar4290 for writing timestamps.

Have any doubts? Join this Telegram group and ask your question. You can also share the projects that you make in this group.

Social Media

Music by geoffharvey from Pixabay
Рекомендации по теме
Комментарии
Автор

you made it so simple that even a 10yr old can get it. teaching at its peak. kudos to you!

NishantRaj-pfdu
Автор

Completed Ep 30 . Sir, you explain everything so simply and in easy way that even complex topics are easy to understand. Moving forward to next lecture.

AshimRaj-rs
Автор

Sir, the way you teach is mind-blowing. How smoothly and enjoyably you delivered the knowledge to us is awesome.

foodietravellersumit
Автор

I have been working with JS for 7-8 months now and went through lot of videos for this concept but this is the most simplified explanation of Execution context with actual proofs I have found.

blackopss
Автор

Most valuable & easy explanation in Holl's YouTube community Guys if anyone wants to follow all lectures of the JS Module u can blindly follow all his lectures

OmPrakashPradhan-nv
Автор

1:33 what is code execution context
2:48 why we didn't studied code execution context before?
3:22 global execution context explained
8:25 used function and debugger
12:17 Changed variable declaration const to var
21:53 Local execution context
33:20 global execution context summary
37:15 deep nesting of execution context
51:27 execution context summary
My contribution, Sunday Qna gang

omdeshkar
Автор

Function ab jitna padha hai sab clear hai, return bhi clear hai bhaiya ji. Execution context, global, script, local, memory creation phase, code execution phase ab sab clear hai bhaiya..Episode 30 complete ho gaya bhaiya. Aapka jaisa guru har ek student deserve krta hai bhaiya.

adityasinghh
Автор

Clear explanations and concise examples made complex concepts easy to understand. Thanks for sharing your expertise

Amanq
Автор

Bro trust me this is the best JS playlist I have ever come across on YouTube, it’s going to be famous super soon, never feel bad about less views. This is not some one shot bakwas, it’s quality and in depth content, which will be super famous very soon. Hope you achieve great heights for providing such premium content to everyone out there.

mukhritgupta
Автор

Loving these video and feeling more confident about my skills day by day !

Is there anyone who is professionally doing coding after watching sirs video? Just for lil bit motivation for people like me!

aniketkhairnar
Автор

How JavaScript works:
Memory Phase (Creation Phase)

Variables declared and stored in memory (undefined by default).
Functions stored in memory with full code.
Code Execution Phase (Execution Phase)

1. Global execution context is created.
2. Variables are assigned values.
3. Functions are called and create a local execution context..
4. Code Execution updates execution context.

Execution Context

Global Execution Context - Created at script start.
Local Execution Context - Created when a function is called. After function execution, the result stored in memory, and local context is removed.

Scope Chain:
The scope chain in JavaScript determines variable accessibility in nested functions. When a variable is accessed, the engine searches the variable from the current function’s scope, then outer scopes, up to the global scope. If not found, a ReferenceError occurs. The scope chain is established at function definition, based on lexical structure

vishalmishrausername
Автор

Sir, kaafi accha smajaya hai aapne, all doubts are cleared in Execution Context and Deep Nesting of Execution Context 💯

mohitsoni
Автор

Ma Sha Allah I did clear anything you are best in YouTube (May Allah guided you to right path).

yahyaaliali-hi
Автор

Loving these tutorials! Thanks, Anurag Bhaiya! 🎉

adityapratap
Автор

Ser aapne bahut accha sikhaya, har ek cheej asani se samajh aa rahi he, ek dam halua jese, thankyou bhaiya,
❤❤❤

Devendarakoushal
Автор

sir pura youtube dekha but aapke jitna deeply koi bhi nhi sikha rha he sir Thank you so much sir .Aur sir aap Full stack developer or full stack java, python developer pr interview lijiye na matlb interview round smjhane me bhi aasani hogi sir.

Cricket_munch_
Автор

"I have completed this video tutorial. I started my journey on 29-05-2025."

mutable-virus_primary
Автор

Day 11: video 30 completed ....thank you sir making such great video 😊

Collecting_one_piece_fan
Автор

I started this playlist This is day 3 I know basics of javascript so I will binge watch basic part and if I found any topic which I don't know then I will try that topic

samith-ny
Автор

Hi @Anurag Sir,

I have really enjoyed learning through your course videos. I was wondering if you could also consider teaching Java and Spring Boot for full stack developers?
Thank you!

Best regards,
Gourav Batra

gouravbatra
welcome to shbcf.ru