DEV Community

Dinesh Katariya
Dinesh Katariya

Posted on

1 1

Javascript and it's execution context

"Everything in javascript happens inside execution context".

execution context has two part's
1) Variable environment (Memory)
2) Thread of execution (Code)

Memory: store key : value pair, ex : a = 29;
also store functions with their code ex: fn {...}

Code: is a part where the javascript code gets executed line by line. because javascript is "Synchronous single-threaded language"

Top comments (0)

nextjs tutorial video

Youtube Tutorial Series

So you built a Next.js app, but you need a clear view of the entire operation flow to be able to identify performance bottlenecks before you launch. But how do you get started? Get the essentials on tracing for Next.js from @nikolovlazar in this video series 👀

Watch the Youtube series

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay