Pitfalls (Advice)

There are many pitfalls for the unwary in JavaScript.

Although JavaScript is a very forgiving language, over the years it has become large and complex. There are certainly ways in which the unwary can be caught out. Even long experienced script developers are taken unawares from time to time.

We present warning sub-sections summarized under each topic. Several pitfalls are so large as to warrant a topic of their own. These are some examples:

The topic names (and hence their lexical order in this reference) are summarized in the See Also list.

See also:</SCRIPT>, Deprecated functionality, Escaped JavaScript quotes in HTML, Hiding scripts from old browsers, HTML entity escape, JavaScript entity, Newlines are not <BR> tags, Off by one errors