• Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

Chapter 1. Essential JavaScript > Viewing Script Errors

Viewing Script Errors

Sometimes, the JavaScript you and I write will have errors in it. (Well, maybe not you, but it sure happens to me.) The two browsers we’re working with have the ability to tell us what the error is, and that’s a useful thing to know in this chapter, where we’re establishing our JavaScript foundation.

For example, what if we had misspelled document.write as documnt.write in our first script? Here’s how that would look:


PREVIEW

                                                                          

Not a subscriber?

Start A Free Trial


  
  • Creative Edge
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint