V School | Better Humans, Better Outcomes

Hoisting With Functions

What is hoisting? Hoisting is a general way of describing how JavaScript is read. Certain syntax of functions will, in a sense, cause the declared functions to be hoisted to the beginning of the code. Before diving deeper into how hoisting works and what it means for us, let's take

Functions

What is a function? “A function is a JavaScript procedure—a set of statements that performs a task or calculates a value.” - MDN Web Docs Analogy Think about some appliances in your kitchen: a dishwasher, refrigerator, toaster, oven, etc. Each of these appliances do a very specific thing – dishwashers

V School | Better Humans, Better Outcomes © 2026