✏ In JavaScript, Execution Context is like a container. And it has
two components.
✏ They are, memory component or variable environment and code
component or thread of execution.
✏ In variable environment or memory component, it contains
variables, functions, and key-value pairs.
✏ But In thread of execution, it's a place where code is executed
at one line at a time. Because, JavaScript is a synchronous
single-threaded language i.e. JavaScript can only execute one
command at a time and in a specific order. It only go to the
next line once the current line has been finished execution.
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)