JavaScript execution contexts
25 June 2023 (Updated 25 June 2023)
On this page
Global context
Created to run the main body of your code. This is any code that exists outside of a function.
Local/function context
Code that runs within a function.
Eval
Code that runs inside eval
.
Tagged:
JavaScript
Thanks for your comment 🙏. Once it's approved, it will appear here.
Leave a comment