What is hoisting in Javascript ?
Anonimo
Hoisting is a default behaviour of JavaScript where can use variables or functions in your code before you declare them. Example : console.log(a); // undefined (hoisted but not initialized) var a = 10; console.log(a);