#38. How to use Var, Let and Const | JavaScript Full Tutorial

Опубликовано: 29 Сентябрь 2024
на канале: Dev Dreamer
7,498
253

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 :-)