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?
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
https://learn.javascript.ru/closures#итого-замыкания - Austen.Thompson53 commented on June 10th 19 at 15:13
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