161Chapter 13JavaScript Essentials .A line terminator (Photo web hosting) is usually
161Chapter 13JavaScript Essentials .A line terminator is usually treated as a statement delimiter.Except in very rare con- structions, JavaScript parsers automatically insert the semicolon statement delimiterwhenever they encounter one or more line terminators (for example, carriage returnsor line feeds). A semicolon delimiter is required between two statements on the samephysical line of source code. Moreover, string literals may not have carriage returns intheir source code (but an escaped newline character (n) may be a part of the string). Onward to Object ModelsThe core language is only a small part of what you work with while scripting Web pages. Thebulk of your job entails understanding the ins and outs of document object models as imple- mented in several generations of browsers. That s where the next chapter picks up the essentials story. …