x
1
2
<html>
3
<body>
4
5
<h2>JavaScript variables</h2>
6
7
8
<script>
9
var user = 'Ahmed',
10
age = 28,
11
study= 'IT';
12
13
document.write("<b>"+ user +"<b><br>");
14
document.write("<b>"+ age +"<b><br>");
15
document.write("<b>"+ study+"<b><br>");
16
17
</script>
18
19
</body>
20
</html>