#5 🛑 Javascript Variables Complete Explanation | let ,const,var | Naming Rule - adarshtiwari1998/JavaScript-Crash-Course-Project-v1 GitHub Wiki

*****************************Tutorial Start đŸ”Ĩ ********************************

1. What is Variable?

Javascript variables are containers for storing the values.

  • A variable is a "named storage" for data.

2. How to create Variable.

we create vraibles by three method:

  1. let, (is a keyword, helps to create a variable. It is a normal variable, value are changeable.)
  2. const (It is a constant variable, values are not changeable. One Value are fixed.)
  3. var (It helps to create variable, it is changeable but var are using in traditional javascript(old js) but it is used in modern javascript also, so let and var are similar but some disadvantage of using var variable which is discuss in upcoming lecture.)

*****************************Tutorial End 🚀 ********************************