Here is my javascript code :
console.log(a);
c();
b();
var a = \'Hello World\';
var b = function(){
console.log(\"B is ca
This is how your code "looks" like to the interpreter after compiletime - before runtime:
var c = function c(){
console.log("C is called");
}
var a = undefined
var b = undefined
console.log(a); // undefined at this point
c(); // can be called since it has been hoisted completely
b(); // undefined at this point (error)
a = 'Hello World';
b = function(){
console.log("B is called");
}
KISSJavaScript