✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.
Which type of variable declaration in JavaScript creates a variable accessible only within the function or block statement where it is declared?
A. Global variable
B. Local variable
C. Static variable
D. Dynamic variable