Read full explaination blog on this toping by clicking below
Javascript Execution Context
Read More About it
How Java Script is Executed in backend and How Execution Context is created ?
Arrow
Read More About it
The Global Context is created ,firtly .
Arrow
Read More About it
The Global context has two section memory and code . in first code pass memory is allocated for var and function
Arrow
Learn more
This in above image is First pass ,var n=10 , var: undefined is created in memory
Arrow
Learn more
This in above image is First pass ,var n=10 , var: undefined is created in memory
Arrow
Learn more
in second phase , now code is again pass and values assign to the var and function are called
Arrow
Learn more
as new function is called then new local execution context is created ,it also pass to call stacked for execution
Arrow
Learn more
as new function is called then new local execution context is created ,it also pass to call stacked for execution
Arrow
Learn more