<!DOCTYPE
html>
html>
<html>
<body>
<h1>Demo: JavaScript Variables
</h1>
</h1>
<p id="p1"></p>
<script>
var
one =1; // number value
one =1; // number value
one= 1.1; //
decimal value
decimal value
one = true; // Boolean value
one = null; // null value
one = 'one'; // string value
document.getElementById("p1").innerHTML
= one;
= one;
</script>
</body>
</html>