Hoisting is Javascript’s default behavior of moving declarations to top of the file. There are two types of Hoisting is there: Variable Hoisting Function Hoisting
Hoisting is Javascript’s default behavior of moving declarations to top of the file. There are two types of Hoisting is there: Variable Hoisting Function Hoisting