JavaScript: What is Hoisting?
Brandon Morelli

It was a good post. But what I find difficult to understand is that in case of function how this works? I mean I can define my function amy where and if I call it it actually gets called rather than giving me undefined as in varibales.

Like what you read? Give HRIDAYESH SHARMA a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.