Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

what is global execution context in javascript


In JavaScript, the global execution context is the default execution context. 

It is created when the JavaScript interpreter starts to run your code. 

The global execution context has two properties: the global object and the this keyword. 

The global object is the object that represents the window in a browser, or the global scope in Node.js. 

The this keyword refers to the global object.
 
PREVIOUS NEXT
Tagged: #global #execution #context #javascript
ADD COMMENT
Topic
Name
4+3 =