
















































































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!

















































































Dr. Vinod Dubey SWE 642 – Fall 2011 George Mason University
Acknowledgement
This lecture has been adapted from chapters 7, 8, 9, and 10 slides for: Internet & World Wide Web How to Program by P.J. Deitel and H.M. Deitel
Introduction
Introduction
Simple Program: Displaying a Line of Text in a Web Page
Simple Program: Displaying a Line of Text in a Web Page (Cont.)
Variables in JavaScript
a value can be stored for use by a program
Variables
of letters, digits, underscores ( _ ) and dollar signs ( $ )
More on Variables
Keywords and Variables in JavaScript
The Assignment Operator (=)
Comments in JavaScript
Control Structures