Op werkdagen voor 23:00 besteld, morgen in huis Gratis verzending vanaf €20

Rediscovering JavaScript

Master ES6, ES7, and ES8

Paperback Engels 2018 9781680505467
Verwachte levertijd ongeveer 8 werkdagen

Samenvatting

JavaScript is no longer to be feared or loathed - the world's most popular and ubiquitous language has evolved into a respectable language. Whether you're writing frontend applications or server side code, the phenomenal features from ES6 and beyond - like the rest operator, generators, destructuring, object literals, arrow functions, modern classes, promises, async, and metaprogramming capabilities - will get you excited and eager to program with JavaScript. You've found the right book to get started quickly and dive deep into the essence of modern JavaScript.

Learn practical tips to apply the elegant parts of the language and the gotchas to avoid.
JavaScript is a black swan that no one, including the author of the language, thought would become a popular and ubiquitous language. Not long ago, it was the most hated and feared language you could use to program the web. JavaScript ES6 and beyond has gone through a significant makeover. Troublesome features have been replaced with better, elegant, more reliable alternatives.

This book includes many practical examples and exercises to help you learn in depth. It will not bore you with idiosyncrasies and arcane details intended for bad interview questions. Instead, it takes you into key features that you can readily use in your day-to-day projects.
Whether you program the frontend or the server side, you can now write concise, elegant, and expressive JavaScript with newer features like default parameters, template literals, rest and spread operators, destructuring, arrow functions, and generators.

Take it up a notch with features like infinite series, promises, async, and metaprogramming to create flexible, powerful, and extensible libraries. While the evolved features of the language will draw you in, the hundreds of examples in this book will pin the concepts down, for you to use on your projects. Take command of modern JavaScript and unlock your potential to create powerful applications.
What You Need:
To try out the examples in the book you will need a computer with Node.js, a text editor, and a browser like Chrome installed in it.

Specificaties

ISBN13:9781680505467
Taal:Engels
Bindwijze:paperback
Aantal pagina's:262
Druk:1
Verschijningsdatum:25-8-2018
Hoofdrubriek:IT-management / ICT

Lezersrecensies

Wees de eerste die een lezersrecensie schrijft!

Geef uw waardering

Zeer goed Goed Voldoende Matig Slecht

Over Venkat Subramaniam

Dr. Venkat Subramaniam is an award-winning author, founder of Agile Developer, Inc., and an instructional professor at the University of Houston. He has trained and mentored thousands of software developers in the US, Canada, Europe, and Asia, and is regularly invited to speak at international conferences. He’s the (co)author of multiple books, including the 2007 Jolt Productivity award winning book Practices of an Agile Developer.

Andere boeken door Venkat Subramaniam

Inhoudsopgave

Acknowledgments
Introduction
How to Run Modern JavaScript
What’s in This Book?
Who Is This Book For?
Online Resources

Part I. The Safe Alternatives
1. JavaScript Gotchas
Be Careful Where You Break Lines
Use === Instead of ==
Declare Before Use
Stay One Step Ahead
Wrapping Up

2. Variables and Constants
Out with var
In with let
Perils of Mutability
const
Safer Code with let and const
Prefer const over let
Wrapping Up

3. Working with Function Arguments
The Power and Perils of arguments
Using the Rest Parameter
The Spread Operator
Defining Default Values for Parameters
Wrapping Up

Part II. Nice Additions
4. Iterators and Symbols
The Convenience of Enhanced for
Symbol—A New Primitive Type
Using Custom Iterators and Generators
Creating Infinite Iterators
Wrapping Up

5. Arrow Functions and Functional Style
From Anonymous to Arrow Functions
Anonymous vs. Arrow Functions
Limitations of Arrow Functions
When to Use Arrow Functions
Arrow Functions and Functional Style
Wrapping Up

6. Literals and Destructuring
Using Template Literals
Multiline Strings
Tagged Template
Enhanced Object Literals
Destructuring
Wrapping Up

Part III. OO and Modular Code
7. Working with Classes
Creating a Class
Implementing a Constructor
Defining a Method
Defining Computed Members
Creating Properties
Defining Class Members
Class Expressions
New Built-in Classes: Set, Map, WeakSet, and WeakMap
Wrapping Up

8. Using Inheritance
Understanding Prototypal Inheritance
Inheriting from a Class
Managing Instance Types with species
Wrapping Up

9. Using Modules
Creating a Module
Exporting from a Module
Importing from a Module
Wrapping Up

Part IV. Going Meta
10. Keeping Your Promises
No Thanks to Callback Hell
Promises to the Rescue
Ways to Create a Promise
Chaining Promises
Working with Multiple Promises
Async and Await
Wrapping Up

11. Exploring Metaprogramming
The Power and Perils of Metaprogramming
Dynamic Access
Member Injection
Wrapping Up

12. Deep Dive into Metaprogramming
Purpose of Reflect
Metaprogramming with Proxy
Synthesizing Members with Proxy
Using Decorators
Wrapping Up

A1. Answers to Exercises
A2. Web Resources

Bibliography

Managementboek Top 100

Rubrieken

Populaire producten

    Personen

      Trefwoorden

        Rediscovering JavaScript