X Home About The Rejection Diary Code Editor HTML Javascript Youtube Videos Thermdynamics Automobile RAC Joker Quotes Motivational Quotes Contact Disclaimer Privacy Policy
Learn with Joker

Variables in Javscript

Variables

Variables:- It is the storage which stores the the data values. You can also change the values of variable in the program.
You also be caution at the time of naming the variables. there are some tips to naming the variable that are :-
(i) The first letter of variable must be letter, like joker.
(ii) The name have not space between the letter.
(iii) You cannot start a name of variable with a number, etc.
var is the keyword which is used to declare the variable. An example shown below:-

In the above code,
joker = variable name
25 = value of variable

How to use Variable

CODE

OUTPUT