2

I'm trying to understand how the JavaScript environment works in the browser.About the call stack I've found some different definitions:

A call stack is composed of stack frames. Explain the concept of a stack frame in a nutshell

and

The call stack is a collection of execution contexts.What is the 'Execution Context' in JavaScript exactly?

Are this things the same in JavaScript? I mean, they represents the same structure?

kinaouro
  • 21
  • 2
  • Could you cite these quotes to give a little bit more context? It would be helpful to see if they give definitions for "stack frames" and "execution contexts" just to be sure. – zero298 Apr 23 '19 at 21:05
  • https://stackoverflow.com/questions/9384758/what-is-the-execution-context-in-javascript-exactly and here https://stackoverflow.com/questions/10057443/explain-the-concept-of-a-stack-frame-in-a-nutshell – kinaouro Apr 23 '19 at 21:42
  • Yes, they are different terms for the same thing. – Bergi Apr 23 '19 at 21:56

0 Answers0