/* Hoisting in JavaScript is a behavior in which a function or a variable can be used before declaration */ // using test before declaring console.log(test); // undefined var test;