What is Hoisting?
console.log(message); //output : undefined
var message = 'The variable Has been hoisted';
The above code looks like as below to the interpreter,
message = 'The variable Has been hoisted';