JavaScript: Where Did My Function Go?

Quick and informal primer on “hoisting” function declarations in JavaScript, which often confuses developers coming from a different programming language