2. JavaScript in Action

JavaScript, like object-oriented programming in general, is something the lay programmer can use without fully understanding it. This quality is both an asset and a liability of the language. Although this book will teach you complete and proper JavaScript in time, this chapter provides a glimpse into real-world JavaScript without all that tedious formal training. To be sure, this is an unorthodox way to begin, but by doing so, the book acknowledges that you may already be mucking about with JavaScript (informally). Further, this early chapter will present a target toward which the next several chapters can aim. All that being said, the chapter also introduces some basics, especially when it comes to Web development and ...

Get Modern JavaScript: Develop and Design now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.