Chapter 1

Introducing ECMAScript 6

Learning Objectives

By the end of this chapter, you will be able to:

  • Define the different scopes in JavaScript and characterize variable declaration
  • Simplify JavaScript object definitions
  • Destructure objects and arrays, and build classes and modules
  • Transpile JavaScript for compatibility
  • Compose iterators and generators

In this chapter, you'll be learning how to use the new syntax and concepts of ECMAScript.

Introduction

JavaScript, often abbreviated as JS, is a programming language designed to allow the programmer to build interactive web applications. JavaScript is one of the backbones of web development, along with HTML and CSS. Nearly every major website, including Google, Facebook, and Netflix, ...

Get Advanced JavaScript now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.