By david_shariff
via davidshariff.com
Submitted: Jan 18 2013 / 10:55
An important feature of JavaScript to note, is that the interpreter uses Lexical Scoping, as opposed to Dynamic Scoping. This is just a complicated way of saying all inner functions, are statically (lexically) bound to the parent context in which the inner function was physically defined in the program code.
Tweet
SaveShareSend
Tags: javascript
Add your comment