Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4 The Basics...
-
Upload
danielle-johnston -
Category
Documents
-
view
212 -
download
0
Transcript of Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley Chapter 4 The Basics...
Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Chapter 4The Basics of Javascript
Programming the World Wide Web Fourth edition
By Robert W. Sebesta
4-2Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Table 4.1 JavaScript reserved words
4-3Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.1 Primitives and objects
4-4Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Table 4.2 Precedence and associativity of the numeric operators
4-5Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Table 4.3 Properties of Number
4-6Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Table 4.4 String methods
4-7Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Table 4.5 Methods for the Date object
4-8Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.2 An example of the output of document.write
4-9Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.3 An example of the output of alert
4-10Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.4 An example of the outputof confirm
4-11Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.5 An example of the output of prompt
4-12Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Table 4.6 Relational operators
4-13Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Table 4.7 Operator precedence and associativity
4-14Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.6 Dialog box from borders2.js
4-15Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.7 Display of borders2.js
4-16Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.8 Display of date.js
4-17Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.9 Display of nested_arrays.js
4-18Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.10 Display of params.js
4-19Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.11 Display of medians.js
4-20Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Table 4.8 Predefined character classes
4-21Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.12 Display of forms_check.js
4-22Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.13 Display of debugdemo.js with Internet Explorer 7
4-23Copyright © 2008 Pearson Education, Inc. Publishing as Pearson Addison-Wesley
Figure 4.14 Display of the FireFox 2 error console