Secrets of the JavaScript Ninja, Second Edition you own this product

John Resig, Bear Bibeault, and Josip Maras
  • August 2016
  • ISBN 9781617292859
  • 464 pages
  • printed in black & white
  • includes free previous edition eBook
  • Available translations: Complex Chinese, Russian, Simplified Chinese

pro $24.99 per month

  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose one free eBook per month to keep
  • exclusive 50% discount on all purchases

lite $19.99 per month

  • access to all Manning books, including MEAPs!

team

5, 10 or 20 seats+ for your team - learn more


Look inside

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 book shows you how.

about the technology

JavaScript is rapidly becoming a universal language for every type of application, whether on the web, on the desktop, in the cloud, or on mobile devices. When you become a JavaScript pro, you have a powerful skill set that's usable across all these domains.

about the book

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.

Frequently Asked Questions

The book focuses on mastering key JavaScript concepts such as functions, closures, objects, prototypes, and promises. It also covers APIs like the DOM, events, and timers, and discusses best practices in testing and cross-browser development.

The authors are John Resig, Bear Bibeault, and Josip Maras.

The book covers JavaScript functions, closures, objects, prototypes, promises, the DOM, events, timers, and best practices for testing and cross-browser development.

Yes, the book is fully revised to cover concepts from ES6 and ES7.

The book is aimed at readers who are willing to become proficient in JavaScript, regardless of their current skill level.

Yes, the book uses practical examples to clearly illustrate each core concept and technique.

The book discusses best practices such as debugging, testing, performance analysis, and cross-browser development .

Yes, the book includes strategies for developing cross-browser web applications .

Yes, each chapter includes exercises to reinforce the concepts covered .

Part 1 covers the ubiquity of JavaScript, understanding the browser, and best practices in JavaScript development .

Part 2 focuses on understanding functions, including first-class functions, function invocation, closures, and asynchronous programming with generators and promises .

Part 3 delves into object orientation with prototypes, controlling access to objects, dealing with collections, regular expressions, and code modularization techniques .

Part 4 explores working with the DOM, handling events, and developing cross-browser strategies .

Yes, the book highlights JavaScript's versatility across web, desktop, cloud, and mobile applications .

The appendixes cover additional ES6 features, testing and debugging techniques, and provide answers to exercises .

what's 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

about the reader

You don't have to be a ninja to read this book—just be willing to become one. Are you ready?

about the authors

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.

Essential reading for developers of any discipline ... with powerful techniques to improve your JavaScript.

Becky Huett, Big Shovel Labs

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.

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Secrets of the JavaScript Ninja, Second Edition ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Secrets of the JavaScript Ninja, Second Edition ebook for free

choose your plan

team

monthly
annual
$49.99
$399.99
only $33.33 per month
  • five seats for your team
  • access to all Manning books, MEAPs, liveVideos, liveProjects, and audiobooks!
  • choose another free product every time you renew
  • choose twelve free products per year
  • exclusive 50% discount on all purchases
  • Secrets of the JavaScript Ninja, Second Edition ebook for free