Javascript Statements
Here an example of code:
<script>
var x, y, z; // Statement 1
x = 22; // Statement 2
y = 10; // Statement 3
z = x + y; // Statement 4
document.getElementById("demo").innerHTML =
"The value of z is " + z + ".";
</script>
<script>
var x, y, z; // Statement 1
x = 22; // Statement 2
y = 10; // Statement 3
z = x + y; // Statement 4
document.getElementById("demo").innerHTML =
"The value of z is " + z + ".";
0 коммент.