About

Saturday, January 21, 2023

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


 

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

0 comments:

Twitter Delicious Facebook Digg Stumbleupon Favorites More