Basic concepts variable part1
Variables
Variables are containers for storing data values. The value of a variable can change throughout the program.
Use the var keyword to declare a variable:var x = 10;
In the example above, the value 10 is assigned to the variable x.
JavaScript is case sensitive. For example, the variables lastName and lastname, are two different variables.
Which keyword is used to tell JavaScript that we're going to work with a variable?
Comments
Post a Comment