Block Scope
The region inside braces where let and const declarations are available.
What is Block Scope in JavaScript?
Block Scope — The region inside braces where let and const declarations are available.
if (orderReady) {
const message = "Ready";
}
Level: Novice · More JavaScript terms at this level
Updated