/JavaScript-Hoisting

Functions and variables are stored in memory for an execution context before we execute our code. This is called hoisting.

JavaScript-Hoisting