Hoisting

What is Hoisting?

console.log( x )
var x = 10
var x 
console.log( x )
x = 10
console.log( b )
let a = 10
getName() 
function getName() {
console.log("Hello world, My name is javascript!!")
}

Conclusion

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

Recommended from Medium

How to improve performance when rendering map polygons on React Native projects

How to create a Node.JS application with Express.JS

Angular + Ionic + TestFlight

Keyboard Shortcuts: React in VS Code

Figuring out TypeScript // What is Typing ?

What is HTML5 Canvas?

Más About Recursion

How to Code Like a Pro

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
Kritikak Tripathi

Kritikak Tripathi

More from Medium

100 Days of Code Quickie: Variables

A Visual Introduction to Functions in Javascript

Know when to stop

Learning Modern JavaScript & JQuery