423 Views
Hoisting is old and confused terminology. Even prior to ES6: did it mean "moved to the top of the current scope" or did it mean "move from a nested block to the closest enclosing function/script scope"? Or both?
0 comments
Join in on a hand-picked round up of the best JavaScript articles every day.
Curated by our Moderators and Voted up by our Community. Free.
Hoisting is old and confused terminology. Even prior to ES6: did it mean "moved to the top of the current scope" or did it mean "move from a nested block to the closest enclosing function/script scope"? Or both?