browsers. I wrote it for readers with at least some prior programming experience who
to take their understanding to a new level and really master the language and the web
comprehensively and definitively. As a result, this is a large and detailed book. My hope,
however, is that it will reward careful study, and that the time you spend reading it will
be easily recouped in the form of higher programming productivity.
This book is divided into four parts.
Readers of previous editions may notice that I have completely rewritten many of the chapters in this book for the sixth edition. The core of Part I —the chapters covering objects, arrays, functions, and classes—is all new and brings the book in line with current programming styles and best practices. Similarly, key chapters of Part II , such as those covering documents and events, have been completely rewritten to bring them up-to-date.
A Note About Piracy
If you are reading a digital version of this book that you (or your employer) did not pay for (or borrow from someone who did) then you probably have an illegally pirated copy. Writing the sixth edition of this book was a full-time job, and it took more than a year. The only way I get paid for that time is when readers actually buy the book. And the only way I can afford to work on a seventh edition is if I get paid for the sixth.