Latest Tutorial

JavaScript executes your code accordingly even if you forget a semicolon at the end of the line.
You must use a semicolon to separate the two pieces of code when putting two independent pieces of code on one line.
<html>
<body>
<SCRIPT LANGUAGE="JavaScript">

<!--
// Declare 2 numeric variables on the same line
var varA = 5; var varB = 0.06;

document.write(varA*varB);
-->

</SCRIPT>
</body>
</html>


0 comments:

Post a Comment

:) :)) ;(( :-) =)) ;( ;-( :d :-d @-) :p :o :>) (o) [-( :-? (p) :-s (m) 8-) :-t :-b b-( :-# =p~ $-) (b) (f) x-) (k) (h) (c) cheer
Click to see the code!
To insert emoticon you must added at least one space before the code.

 
Top
Blogger Template