Here is my javascript code :
console.log(a); c(); b(); var a = \'Hello World\'; var b = function(){ console.log(\"B is ca
At the time you are calling b is not defined yet. Your b is a variable which contains function, and the time you are accessing b it has not been defined yet.