Google News
logo
JavaScript - Interview Questions
What you mean by Hoisting in JS?
The concept of hoisting stands for uplifting the variable and functions on the top of their scope before the code execution takes place. In the JavaScript mechanism, no matter wherever the functions are declared, they are taken on the topmost position, immaterial of their scope (global or local).
Advertisement