What is Hoisting in javascript ?

Опубликовано: 28 Май 2026
на канале: Developer Funnel
1,083
24

What is Hoisting | interview specific explanation
Developer Funnel

Hoisting is a JavaScript mechanism where variables and function declarations are moved to the top of their scope before code execution. Inevitably, this means that no matter where functions and variables are declared, they are moved to the top of their scope regardless of whether their scope is global or local.

Channel: Developer Funnel
DeveloperFunnel is focusing on interview specific topic
Visit http://developerfunnel.com/ for interview Preparation.