The preceding statement calls the in-built
Write() function and prints the message hello world on the screen.
We can write multiple statements in one line separated by a semicolon; for example:
var a=20; var b=2;var c=a*b; document.write(c);
A statement can also be terminated with a line break, for ...