Skip to main content
main-content

Über dieses Buch

This comprehensive book is your go-to reference for tackling common and advanced JavaScript tasks. JavaScript is the world’s most popular client-side scripting language and is gaining popularity on the server. 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. Quickly discover solutions to common problems, best practices you can follow, and everything JavaScript has to offer.With JavaScript Recipes you will learn language fundamentals like types, conversions, execution contexts, expressions, operators, statements, and built-in objects. With this book you'll be able to 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.

Inhaltsverzeichnis

Frontmatter

Chapter 1. Working with JavaScript Datatypes

When programming (just like in algebra), you need to be able to assign a variable piece of data to a keyword that you can reference in your code, for example x = 5.

Russ Ferguson, Keith Cirkel

Chapter 2. Working with Expressions

You want to add some numbers together.

Russ Ferguson, Keith Cirkel

Chapter 3. Working with Strings

You want to have a better understanding of Unicode strings.

Russ Ferguson, Keith Cirkel

Chapter 4. Working with Numbers and Math

Receive a value as a string and convert it to a number.

Russ Ferguson, Keith Cirkel

Chapter 5. Working with Bitwise Operations Against 32-Bit Integers

A 32-bit integer is vastly different from a variable bit floating-point number, which is the standard type of number in JavaScript. 32-bit integers can only be created using bitwise operators, which will be covered all throughout this chapter.

Russ Ferguson, Keith Cirkel

Chapter 6. Dates and Times

You need to get date and time information.

Russ Ferguson, Keith Cirkel

Chapter 7. Working with Arrays

You want to hold on to information in sequence without creating multiple variables.

Russ Ferguson, Keith Cirkel

Chapter 8. Working with Arrays in Loops

You want to iterate through all the values of an array-like object where order is important.

Russ Ferguson, Keith Cirkel

Chapter 9. Working with Objects

You want to know what the difference is between creating an object using the new operator or an object literal.

Russ Ferguson, Keith Cirkel

Chapter 10. Working with Sets

In what situation would you use a set object over an array?

Russ Ferguson, Keith Cirkel

Chapter 11. Working with Maps

When is it better to use a map rather than an object?

Russ Ferguson, Keith Cirkel

Chapter 12. Working with Functions

You want to know how many ways there are to create a function.

Russ Ferguson, Keith Cirkel

Chapter 13. Working with Generators

You want to know what a generator is and how you make one.

Russ Ferguson, Keith Cirkel

Chapter 14. Working with Template Literals

You want to know how to use a template literal in a project.

Russ Ferguson, Keith Cirkel

Chapter 15. Working with Symbols

You want to know why and how to use symbols in a project.

Russ Ferguson, Keith Cirkel

Chapter 16. Working with Proxies

What is a proxy and when should you use one?

Russ Ferguson, Keith Cirkel

Chapter 17. Working with Classes

How do you create a class using either ECMAScript 5 or ECMAScript 6?

Russ Ferguson, Keith Cirkel

Chapter 18. Working with Events

What are DOM events and how do you handle them?

Russ Ferguson, Keith Cirkel

Chapter 19. Debugging and Handling Exceptions

How do errors occur and can you create an error object?

Russ Ferguson, Keith Cirkel

Chapter 20. Working with Regular Expressions

You want to know what a regular expression is and how to use one in JavaScript.

Russ Ferguson, Keith Cirkel

Chapter 21. Working with Asynchronous Control Flow and Promises

You want a better understanding of asynchronous control flow.

Russ Ferguson, Keith Cirkel

Backmatter

Weitere Informationen

Premium Partner

Neuer Inhalt

BranchenIndex Online

Die B2B-Firmensuche für Industrie und Wirtschaft: Kostenfrei in Firmenprofilen nach Lieferanten, Herstellern, Dienstleistern und Händlern recherchieren.

Whitepaper

- ANZEIGE -

Product Lifecycle Management im Konzernumfeld – Herausforderungen, Lösungsansätze und Handlungsempfehlungen

Für produzierende Unternehmen hat sich Product Lifecycle Management in den letzten Jahrzehnten in wachsendem Maße zu einem strategisch wichtigen Ansatz entwickelt. Forciert durch steigende Effektivitäts- und Effizienzanforderungen stellen viele Unternehmen ihre Product Lifecycle Management-Prozesse und -Informationssysteme auf den Prüfstand. Der vorliegende Beitrag beschreibt entlang eines etablierten Analyseframeworks Herausforderungen und Lösungsansätze im Product Lifecycle Management im Konzernumfeld.
Jetzt gratis downloaden!

Bildnachweise