Video description
"Essential reading for developers of any discipline ... with powerful techniques to improve your JavaScript."
Becky Huett, Big Shovel Labs
More than ever, the web is a universal platform for all types of applications, and JavaScript is the language of the web. If you're serious about web development, it's not enough to be a decent JavaScript coder. You need to be ninja-stealthy, efficient, and ready for anything. This Video Edition book shows you how.
Secrets of the JavaScript Ninja, Second Edition uses practical examples to clearly illustrate each core concept and technique. This completely revised edition shows you how to master key JavaScript concepts such as functions, closures, objects, prototypes, and promises. It covers APIs such as the DOM, events, and timers. You'll discover best practice techniques such as testing and cross-browser development, all taught from the perspective of skilled JavaScript practitioners.
Inside:
- Writing more effective code with functions, objects, and closures
- Learning to avoid JavaScript application pitfalls
- Using regular expressions to write succinct text-processing code
- Managing asynchronous code with promises
- Fully revised to cover concepts from ES6 and ES7
You don't have to be a ninja to read this book—just be willing to become one. Are you ready?
John Resig is an acknowledged JavaScript authority and the creator of the jQuery library. Bear Bibeault is a web developer and author of the first edition, as well as coauthor of Ajax in Practice, Prototype and Scriptaculous in Action, and jQuery in Action from Manning. Josip Maras is a post-doctoral researcher and teacher.
Excellent and comprehensive insight into the magic of functions and closures for the efficient use of JavaScript.
Gerd Klevesaat, Siemens
The essential resource for moving your JavaScript skills to the next level.
David Starkey, Blum
Helps you master both the stealthy and bold techniques of modern JavaScript.
Christopher Haupt, New Relic Inc.
NARRATED BY DEREK LETTMAN
Table of Contents
Part 1. Warming up
Chapter 1. JavaScript is everywhere
Chapter 2. Building the page at runtime
Part 2. Understanding functions
Chapter 3. First-class functions for the novice: definitions and arguments
Chapter 4. Functions for the journeyman: understanding function invocation
Chapter 5. Functions for the master: closures and scopes
Chapter 6. Functions for the future: generators and promises
Part 3. Digging into objects and fortifying your code
Chapter 7. Object orientation with prototypes
Chapter 8. Controlling access to objects
Chapter 9. Dealing with collections
Chapter 10. Wrangling regular expressions
Chapter 11. Code modularization techniques
Part 4. Browser reconnaissance
Chapter 12. Working the DOM
Chapter 13. Surviving events
Chapter 14. Developing cross-browser strategies