Javascript Variables
Variables are containers for storing data (values).
There are 3 ways to declare a JavaScript variable:
Using var
Using let
Using const
The general rules for constructing names for variables (unique identifiers) are:
Names can contain letters, digits, underscores, and dollar signs.
Names must begin with a letter
Names can also begin with $ and _ (but we will not use it in this tutorial)
Names are case sensitive (y and Y are different variables)
Reserved words (like JavaScript keywords) cannot be used as names
Web development course for beginner, course language is hind, fill free to ask question.
you can find examples on GIT:
https://github.com/pratik007kumar/web-development-course
Fill free to ask questions :
you can join this using skype. every Saturday and Sunday from 2:30 pm to 3:45 pm
click this link to join: https://join.skype.com/yyspoKUjHUVr
Variables are containers for storing data (values).
There are 3 ways to declare a JavaScript variable:
Using var
Using let
Using const
The general rules for constructing names for variables (unique identifiers) are:
Names can contain letters, digits, underscores, and dollar signs.
Names must begin with a letter
Names can also begin with $ and _ (but we will not use it in this tutorial)
Names are case sensitive (y and Y are different variables)
Reserved words (like JavaScript keywords) cannot be used as names
Web development course for beginner, course language is hind, fill free to ask question.
you can find examples on GIT:
https://github.com/pratik007kumar/web-development-course
Fill free to ask questions :
you can join this using skype. every Saturday and Sunday from 2:30 pm to 3:45 pm
click this link to join: https://join.skype.com/yyspoKUjHUVr
- Category
- Web design
Be the first to comment