javascript - Value after hoisting? -


question: value of bar after hoisted?

var bar = function() { return 3; }; 

i think: function expression. i'm wrong?

why not try it?

var bar = function() {     return 3;  };  console.log(bar); 

output,

  function () {     return 3;   } 

Comments

Popular posts from this blog

monitor web browser programmatically in Android? -

Shrink a YouTube video to responsive width -

wpf - PdfWriter.GetInstance throws System.NullReferenceException -