- Hoisting is a variable or function's default behavior before declaring in the code. example
getName();
console.log(x);
var x = 7;
function getName() {
console.log("Namaste Javascript");
}
getName();
console.log(x);
var x = 7;
function getName() {
console.log("Namaste Javascript");
}
For further actions, you may consider blocking this person and/or reporting abuse
Ashok Nagaraj -
Super Kai (Kazuya Ito) -
Vijay Kumar -
DevCorner -
Top comments (0)