0

What the difference between all of these concepts? As I understood and become confused: Scope — This is where our variables, functions, and expressions are created and available. Lexical environment — it is an object with all of the variables, functions, and expressions. Execution context – information about all of the variables, functions, and expressions during functions execution. But then I read some concepts from MDN and now I'm totally confused

  • Does this answer your question? [What's the difference between using "let" and "var"?](https://stackoverflow.com/questions/762011/whats-the-difference-between-using-let-and-var) – Darth Aug 19 '20 at 13:21
  • Thank you for your response, but it's not what I'm trying to understand. Actually it explains some concepts of scope in JavaScript but, not the difference between lexical environment, scope, and execution context. – roman_kuzyk Aug 19 '20 at 14:12

0 Answers0