Tag: javascript hoisting

JavaScript Hoisting
Post

JavaScript Hoisting

Originally posted on dev. In this article, we are going to discuss about hoisting in JavaScript. Hoisting, is a process that happens during the creation of execution context, which will move the declarations of variables and functions up to the top of the context. Let’s start with an example: hello(); function hello(){ return "Hello World";...