









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










JavaScript - programs are interpreted in thebrowser
Java - programs are compiled and can be run asstand alone applications
Hello World Example
Some older browsers do not support JavaScript
We need to tell those browsers to ignore what is in the
document.write("Hello,world!");
Enclosed in quotes --
denotes a "string"
Ends in a semicolon
Single line
Uses two forward slashes (i.e.
//
)
Multiple line
Uses
/*
and
*/