First JS Program, Revisited
Rewrite earlier code with new concepts
<html><head><title>My Test Page</title></head>
<body> The sum
2.0 + 2.0 equals
<script language="JavaScript">
var anumber = 2.0, another, answer;
another = 2.0;
answer = anumber + another;
document.write(answer);
</script>
</body>
</html>