The with statement was intended to provide a
shorthand in accessing members in deeply nested objects. Unfortunately, it behaves
very badly when setting new members. Never use the with statement. Use a var
instead.
JSLint does not expect to see a with
statement.
You are currently reading a PREVIEW of this book.
Get instant access to over
$1 million worth of books and videos.