Practical Modern JavaScript: Dive into ES6 and the Future of JavaScript
To get the most out of modern JavaScript, you need learn the latest features of its parent specification, ECMAScript 6 (ES6). This book provides a highly practical look at ES6, without getting lost in the specification or its implementation details. Armed with practical examples, author Nicolas Bevacqua shows you new ways to deal with asynchronous flow control, declare objects or functions, and create proxies or unique sets, among many other features.

The first title in Bevacqua's Modular JavaScript series, Practical Modern JavaScript prepares JavaScript and Node.js developers for applied lessons in modular design, testing, and deployment in subsequent books.

This book explains:

  • How JavaScript and its standards development process have evolved
  • Essential ES6 changes, including arrow functions, destructuring, let and const
  • Class syntax for declaring object prototypes, and the new Symbol primitive
  • How to handle flow control with Promises, iterators, generators, and async functions
  • ES6 collection built-in types for creating object maps and unique sets
  • How and when to use the new Proxy and Reflect built-ins
  • Changes to Array, Math, numbers, strings, Unicode, and regular expressions, and other improvements since ES5
1126449719
Practical Modern JavaScript: Dive into ES6 and the Future of JavaScript
To get the most out of modern JavaScript, you need learn the latest features of its parent specification, ECMAScript 6 (ES6). This book provides a highly practical look at ES6, without getting lost in the specification or its implementation details. Armed with practical examples, author Nicolas Bevacqua shows you new ways to deal with asynchronous flow control, declare objects or functions, and create proxies or unique sets, among many other features.

The first title in Bevacqua's Modular JavaScript series, Practical Modern JavaScript prepares JavaScript and Node.js developers for applied lessons in modular design, testing, and deployment in subsequent books.

This book explains:

  • How JavaScript and its standards development process have evolved
  • Essential ES6 changes, including arrow functions, destructuring, let and const
  • Class syntax for declaring object prototypes, and the new Symbol primitive
  • How to handle flow control with Promises, iterators, generators, and async functions
  • ES6 collection built-in types for creating object maps and unique sets
  • How and when to use the new Proxy and Reflect built-ins
  • Changes to Array, Math, numbers, strings, Unicode, and regular expressions, and other improvements since ES5
49.99 In Stock
Practical Modern JavaScript: Dive into ES6 and the Future of JavaScript

Practical Modern JavaScript: Dive into ES6 and the Future of JavaScript

by Nicolas Bevacqua
Practical Modern JavaScript: Dive into ES6 and the Future of JavaScript

Practical Modern JavaScript: Dive into ES6 and the Future of JavaScript

by Nicolas Bevacqua

Paperback

$49.99 
  • SHIP THIS ITEM
    In stock. Ships in 1-2 days.
  • PICK UP IN STORE

    Your local store may have stock of this item.

Related collections and offers


Overview

To get the most out of modern JavaScript, you need learn the latest features of its parent specification, ECMAScript 6 (ES6). This book provides a highly practical look at ES6, without getting lost in the specification or its implementation details. Armed with practical examples, author Nicolas Bevacqua shows you new ways to deal with asynchronous flow control, declare objects or functions, and create proxies or unique sets, among many other features.

The first title in Bevacqua's Modular JavaScript series, Practical Modern JavaScript prepares JavaScript and Node.js developers for applied lessons in modular design, testing, and deployment in subsequent books.

This book explains:

  • How JavaScript and its standards development process have evolved
  • Essential ES6 changes, including arrow functions, destructuring, let and const
  • Class syntax for declaring object prototypes, and the new Symbol primitive
  • How to handle flow control with Promises, iterators, generators, and async functions
  • ES6 collection built-in types for creating object maps and unique sets
  • How and when to use the new Proxy and Reflect built-ins
  • Changes to Array, Math, numbers, strings, Unicode, and regular expressions, and other improvements since ES5

Product Details

ISBN-13: 9781491943533
Publisher: O'Reilly Media, Incorporated
Publication date: 07/23/2017
Pages: 332
Product dimensions: 5.80(w) x 8.90(h) x 0.80(d)

About the Author

Nico is an enthusiastic JavaScript consultant based in Buenos Aires, Argentina. When he's not working on consulting projects or contributing to the open-source community as @bevacqua, Nico devotes his time to the local NodeSchool and Beer.js communities. Nico loves writing content for ponyfoo.com, his blog since 2012. He’s published a book on JavaScript processes and quality named JavaScript Application Design (Manning). Nico is a happy pony, and you can find him as @nzgb on Twitter.

Table of Contents

Foreword v

Preface vii

1 ECMAScript and the Future of JavaScript 1

1.1 A Brief History of JavaScript Standards 1

1.2 ECMAScript as a Rolling Standard 5

1.3 Browser Support and Complementary Tooling 7

1.4 Feature Themes in ES6 16

1.5 Future of JavaScript 18

2 ES6 Essentials 19

2.1 Object Literals 19

2.2 Arrow Functions 24

2.3 Assignment Destructuring 29

2.4 Rest Parameter and Spread Operator 37

2.5 Template Literals 42

2.6 Let and const Statements 48

3 Classes, Symbols, Objects, and Decorators 57

3.1 Classes 57

3.2 Symbols 66

3.3 Object Built-in Improvements 75

3.4 Decorators 81

4 Iteration and Flow Control 89

4.1 Promises 89

4.2 Iterator Protocol and Iterable Protocol 108

4.3 Generator Functions and Generator Objects 121

4.4 Async Functions 141

4.5 Asynchronous Iteration 154

5 Leveraging ECMAScript Collections 159

5.1 Using ES6 Maps 161

5.2 Understanding and Using WeakMap 168

5.3 Sets in ES6 170

5.4 ES6 WeakSets 173

6 Managing Property Access with Proxies 177

6.1 Getting Started with Proxy 177

6.2 Revocable Proxies 184

6.3 Proxy Trap Handlers 186

6.4 Advanced Proxy Traps 195

7 Built-in Improvements in ES6 208

7.1 Numbers 209

7.2 Math 220

7.3 Strings and Unicode 225

7.4 Regular Expressions 238

7.5 Array 250

8 JavaScript Modules 259

8.1 CommonJS 260

8.2 JavaScript Modules 265

8.3 Practical Considerations for ES Modules 275

9 Practical Considerations 279

9.1 Variable Declarations 279

9.2 Template Literals 284

9.3 Shorthand Notation and Object Destructuring 289

9.4 Rest and Spread 292

9.5 Savoring Function Flavors 295

9.6 Classes and Proxies 300

9.7 Asynchronous Code Flows 304

9.8 Complexity Creep, Abstractions, and Conventions 308

Index 311

From the B&N Reads Blog

Customer Reviews