RE: Variable and Function Hoisting in JavaScript

15 views
Skip to first unread message

Larry Bell

unread,
Sep 2, 2014, 5:59:07 PM9/2/14
to js-drip-d...@googlegroups.com
After reading Variable and Function Hoisting in JavaScript, another article You Don't Know JS: Scope & Closures explains it correctly. An excerpt states it best "... all declarations, both variables and functions, are processed first, before any part of your code is executed. ... the declaration, is processed during the compilation phase."
Larry
Reply all
Reply to author
Forward
0 new messages