Where and how is stored the context(object) which is available through this?

when calling the function, we have an accessible object(the context of the current call), where is it stored? how it is available through this? with variables this is how it works if we are inside a function called what is a variable variable, it is first searched in the current lexical environment, then if it is not looked up in the object scope which is available in the current lexicom environment refers to the external LO and so on to the window object, and how does this?
June 10th 19 at 15:05
1 answer
June 10th 19 at 15:07
In lexicalEnvironment.
https://learn.javascript.ru/functions-closures

It is better to read from and about the scope, lexicalEnvironment and closures, it is all closely interrelated.
I couldn't find, there is clearly not written. So this is just a field of an object to the lexical environment? and how when you call the function inside recognize of what exactly the object was a challenge? - christelle_Feil commented on June 10th 19 at 15:10
at the time of the call , the function creates a LE and stores there the calling context.
https://learn.javascript.ru/closures#итого-замыкания - Austen.Thompson53 commented on June 10th 19 at 15:13
thanks , but still in your chosen prograf I found that it was written - christelle_Feil commented on June 10th 19 at 15:16
if you you're meant this offer
All variables and functions are properties of the variable object LexicalEnvironment. Each run of the function creates a new object.
I would have thought that even here we have in mind this - christelle_Feil commented on June 10th 19 at 15:19
, ecma-international.org/ecma-262/#sec-function-envi... - Kelsie.Purdy commented on June 10th 19 at 15:22
maybe there are more accessible:
https://developer.mozilla.org/ru/docs/Web/JavaScri...
https://habrahabr.ru/post/149526/
https://javascript.ru/this - Austen.Thompson53 commented on June 10th 19 at 15:25

Find more questions by tags JavaScript