JavaScript Variables and Constants

JavaScript Variables and Constants

In programming, a variable is a container (storage area) to hold data. For example,

image.png

JavaScript Declare Variables

   In JavaScript, we use either `var` or `let` keyword to declare variables. For example,

image.png

Change the Value of Variables

It's possible to change the value stored in the variable. For example,

image.png