Reputation: 386
I'm trying to understand how the order of precedence for function and variable declarations and variable assignment and function definition during the JavaScript engine's compilation phase interacts with other things that go on during the compilation phase. Please tell me if this looks right:
Upvotes: 2
Views: 84
Reputation: 305
Just Quoting the current standard here, actual implementations may vary:
15.1.11Runtime Semantics: GlobalDeclarationInstantiation ( script, env )
Upvotes: 1