Back to the JavaScript home page Available at
About Chapters Examples Reference
Chapter 1
Chapter 9
Chapter 15
Chapter 23
Check Out These Other Books!
home >> chapters >> chapter 23 (second edition)

Chapter 23 – JavaScript Programming Practices

In this chapter we bring to a close our discussion of JavaScript by highlighting some recommended practices for and salient issues regarding JavaScript in the "real world." Our focus is on errors and debugging as well as on writing robust JavaScript that utilizes defensive programming techniques. We also touch on some distribution issues, such as protecting your code and decreasing its download time, and discuss where JavaScript fits into the "big picture" of the Web. The discussion in this chapter condenses many years worth of programming experience into a few dozen pages, so that developers — new ones in particular — can save themselves and their users some headaches by careful consideration of the content presented here.

PDF fileDownload Chapter 23 (Second Edition) [ PDF - 252KB ]

This was Chapter 24 in the first edition of JavaScript: The Complete Reference.
That version is archived here for your convenience [ PDF - 1.34MB ].

You will need Adobe Reader to view the above document. Download the free Adobe Reader here.

About | Chapters | Examples | Reference | Site Map

© 2001, 2005 PINT Inc.
[contents and programming of the site]
© 2001 The McGraw-Hill Companies
[contents of the print work JavaScript: The Complete Reference]

Available at