- Forums
- Javascipt
- How To Define Variables In Javascript Code
This Page Contains information about How To Define Variables In Javascript Code By web hosting in category Javascipt with 0 Replies. [2167], Last Updated: Mon Jun 24, 2024
web hosting
Sat Apr 19, 2008
0 Comments
399 Visits
To declare text as a variable, you use the var keyword, which tells the browser that the text to follow will be the name of a new variable
var variable;
for example, to name your variable users, the declaration look like this
var users;
next: how to assign a value to a variable