Hoisting

The effect of declarations being registered before execution reaches their source line.

What is Hoisting in JavaScript?

Hoisting — The effect of declarations being registered before execution reaches their source line.

showStatus();

function showStatus() {
    return "Ready";
}

Level: Master · More JavaScript terms at this level

Updated