4 ms·Javascript hoisting explained3 points by Kennethtruyers 13y agondesaulniers 13y agoA nice follow up would be to explain the pattern of using immediately executing functions in loops to introduce scope, and how the let keyword proposed for ES6 will alleviate the need.