#38. How to use Var, Let and Const | JavaScript Full Tutorial
YouTube Viewers YouTube Viewers
27.8K subscribers
6,738 views
0

 Published On Nov 5, 2021

Let's learn all about the difference between var, let and const. Why do we have three different ways to declare a variable? When is the right time to use either one? In this important lesson we discuss the difference between the different ways to create a variable, and why/when to either use or not use them.

0:00 - Intro
0:20 - The old 'var' keyword
1:37 - Main differences between var, let, const
2:16 - Reassignment
3:38 - Redeclaration
4:34 - Why the change?
5:30 - Lesson Summary
6:02 - Lesson Tasks
8:09 - Outro and Up Next


🙂 SUBSCRIBE - hit the bell 🔔 and choose all: https://goo.gl/nYLZvz

------------------

đź‘Ť HTML FULL TUTORIAL:

https://shorturl.at/fiCMV

đź‘Ť CSS FULL TUTORIAL:

https://shorturl.at/clGSZ

------------------

FACEBOOK:

  / devdreamercode  

TWITTER:

  / devdreamercode  

SUBSCRIBE and hit the BELL NOTIFICATION đź””:

https://goo.gl/nYLZvz

------------------
Learn with Dev Dreamer! Step by step, easy to understand tutorials :-)

show more

Share/Embed