javascript function internal scope property -


what difference in internal scope property assigned on function declaration , on entering function execution context?

definition: [[scope]] property written , stored in function object. [[scope]] in contrast scope (scope chain) property of function instead of context.

link:(http://dmitrysoshnikov.com/ecmascript/chapter-4-scope-chain/#function-creation)

what mean :as function gets declared assigned scope property or during execution time scope property gets assigned.

this closure concept. worded differently here normal. there 2 things going on -- first have closure, variables declared locally context of function definition made available function. "scope chain" refers to. in addition, locally defined variables (var statements within function) don't exist until function starts @ "execution context". (typically these stored on stack or heap).


Comments

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -