JavaScript Recipes: A Problem-Solution Approach

  • 5h 10m
  • Keith Cirkel, Russ Ferguson
  • Apress
  • 2016

Quickly discover solutions to common problems, best practices you can follow, and everything JavaScript has to offer. Using a problem-solution approach, this book takes you from language basics like built-in objects and flow control all the way to advanced optimization techniques, frameworks and Node.js.

With JavaScript Recipes you will learn language fundamentals like types, conversions, execution contexts, expressions, operators, statements, and built-in objects. You'll explore and make the most of your script’s host environment and how to create your own JavaScript host using Google’s V8 engine. Employ advanced optimization techniques to create scripts that execute as fast, or faster, than native executables.

JavaScript Recipes shows you how to avoid wasting development time and concentrate on developing cutting-edge applications. You’ll see how much quicker and efficient it is to develop with JavaScript. Start becoming a JavaScript pro with JavaScript Recipes today.

What You'll Learn

  • Learn JavaScript language fundamentals and what they can do for you
  • Use JavaScript’s powerful features to develop next-generation applications
  • Explore your script’s host environment and extend it with your own objects
  • Learn how to use Google’s V8 Engine to create your own JavaScript environment
  • Learn advanced optimization techniques
  • Implement advanced techniques like closures, namespaces, and reflection
  • How to use Node.js efficiently

Who This Book Is For

JavaScript developers who need to get development tasks accomplished quickly.

About the Authors

Russ Ferguson is a freelance developer and instructor in the New York City area. His interest in computers goes back to Atari Basic, CompuServe and BBS systems in the mid-1980s. For over 10 years, he has been fortunate to teach at Pratt Institute, where subjects have been as diverse as the student body. Working in New York has given him the opportunity to work with a diverse group of companies whose projects ranged from developing real-time chat/video applications for start-ups to developing and managing content management systems for established Media and Advertising agencies like MTV and DC Comics.

Keith Cirkel is a JavaScript Consultant from London, United Kingdom, specializing in writing open source JavaScript libraries and literature.

In this Book

  • Working with JavaScript Datatypes
  • Working with Expressions
  • Working with Strings
  • Working with Numbers and Math
  • Working with Bitwise Operations Against 32-Bit Integers
  • Dates and Times
  • Working with Arrays
  • Working with Arrays in Loops
  • Working with Objects
  • Working with Sets
  • Working with Maps
  • Working with Functions
  • Working with Generators
  • Working with Template Literals
  • Working with Symbols
  • Working with Proxies
  • Working with Classes
  • Working with Events
  • Debugging and Handling Exceptions
  • Working with Regular Expressions
  • Working with Asynchronous Control Flow and Promises