Chapter 11. Effective JavaScript

It matters not what someone is born, but what they grow to be.

J. K. Rowling

Developed for the web in the 1990s, JavaScript is widely used today outside the realm of web applications. For example, you find JavaScript used to write application extensions for Adobe Photoshop, Google Chrome, and Mozilla Firefox. It’s also used to create native mobile applications; for example, PhoneGap or Appcelerator Titanium. JavaScript is also used for some flavors of server-side applications, most noticeably Node.js.

JavaScript’s fate is curious. Born to be the language of the first web fan-boys, it has been through a series of highs and lows since the early 1990s. At some point, its use was boosted by the advent of Dynamic HTML ...

Get Programming Microsoft ASP.NET MVC now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.