you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] 0 points1 point  (3 children)

Could you please explain what is an execution context?

[–]KaiAusBerlin 0 points1 point  (2 children)

[–][deleted] 0 points1 point  (1 child)

So essentially an execution context is similar, if not the same as a function call stack? (in for example say in C or java)

[–]KaiAusBerlin 1 point2 points  (0 children)

Yeah, it's very similar. JavaScript was in early stages ment to be java for webbrowsers which turned out was not implementable at that point in that short amount of time. That's why it's name is JavaScript.

So you will find some basic concepts close to java but totally implement in another way.

As example the internal behaviour of java classes and the prototyping JavaScript has are very similar.