“Hoisting” a Amazing Jargon in JavaScript.

1. Simple Functions declarations/ Function Statement

Function statement or Function declaration

2. Function Expression

Function expressions

So what is Hoisting?

Function statement call 1
Function statement call 2
Function Expression call 1
Function Expression call 2
Variable declared above console
Variable declaration below console.

Conclusion

--

--

--

A enthusiastic web developer ,who is curious about technologies.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Implementing a Clean Architecture Modular Application in Nuxt/Vue Typescript — Part 1: Domain Layer

Using Async in useEffect React Hook

React Native — Beautiful Horoscope App

How to add a tag to a person’s record in Intercom using Nodejs.

Blog 3.0.0:Getting started with Google Datastore by a junior dev !

Blockstack Authentication for ReactJS Apps Using Hooks

5 Common Mistakes with Keys in React

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Aayush Bhankale

Aayush Bhankale

A enthusiastic web developer ,who is curious about technologies.

More from Medium

JavaScript Closure

Basics of JavaScript

Loops in JavaScript

Loops in JS

JavaScript Coding Language