Variable Hoisting with LET, CONST and VAR in JavaScript

Опубликовано: 26 Октябрь 2022
на канале: Deeecode The Web
2,264
108

I recently learned that variables declared with let and const are also hoisted. I used to think it was only variables declared with VAR that are hoisted.

In this video, I share the difference between how hoisting works with VAR and how it works with LET and CONST in JavaScript.

Check out my JavaScript Simplified playlist here:    • JavaScript Simplified  

_____

Subscribe to My Channel: https://bit.ly/deeecode

_____

🌟 About Me:
Dillion Megida, creator of DEEECODE, is a Software Engineer, Developer Advocate and a Content Creator passionate about simplifying topics around Tech via articles and videos.

_____

⚡️ Connect with me:
- Personal youtube:    / dillionmegida  
- Personal website: https://dillionmegida.com/
- Twitter:   / iamdillion  
- Instagram:   / deeecode  
- LinkedIn:   / dillionmegida  
- GitHub: https://github.com/dillionmegida

_____
#deeecode