You are previewing Secrets of the JavaScript Ninja.

Secrets of the JavaScript Ninja

Cover of Secrets of the JavaScript Ninja by John Resig and Bear Bibeault Published by Manning Publications
O'Reilly logo

Chapter 1. Enter the ninja

This chapter covers

  • A look at the purpose and structure of this book
  • Which libraries we’ll look at
  • What is “advanced” JavaScript programming?
  • Cross-browser authoring
  • Test suite examples

If you’re reading this book, you know that there’s nothing simple about creating effective and cross-browser JavaScript code. In addition to the normal challenges of writing clean code, we have the added complexity of dealing with obtuse browser differences and complexities. To deal with these challenges, JavaScript developers frequently capture sets of common and reusable functionality in the form of JavaScript libraries.

These libraries vary widely in approach, content, and complexity, but one constant remains: they need to ...

The best content for your career. Discover unlimited learning on demand for around $1/day.