Content deleted Content added
simplify, reduced editorializing |
Loop-invariant code motion is a compiler optimization, not part of the language semantics; define hoisting more clearly |
||
Line 140:
==Hoisting==
In some languages, a variable can be declared at function scope even within enclosed blocks. For example, in Javascript, variables declared with <code>var</code> have function scope.
==See also==
|