Book Image

Advanced JavaScript

By : Zachary Shute
Book Image

Advanced JavaScript

By: Zachary Shute

Overview of this book

If you are looking for a programming language to develop flexible and efficient applications, JavaScript is an obvious choice. Advanced JavaScript is a hands-on guide that takes you through JavaScript and its many features, one step at a time. You'll begin by learning how to use the new JavaScript syntax in ES6, and then work through the many other features that modern JavaScript has to offer. As you progress through the chapters, you’ll use asynchronous programming with callbacks and promises, handle browser events, and perform Document Object Model (DOM) manipulation. You'll also explore various methods of testing JavaScript projects. In the concluding chapters, you'll discover functional programming and learn to use it to build your apps. With this book as your guide, you'll also be able to develop APIs using Node.js and Express, create front-ends using React/Redux, and build mobile apps using React/Expo. By the end of Advanced JavaScript, you will have explored the features and benefits of JavaScript to build small applications.
Table of Contents (9 chapters)

Introduction


In the first chapter, we covered many of the new and powerful features that were released in ES6. We discussed the evolution of JavaScript and highlighted the key additions in ES6. We discussed scope rules, variable declaration, arrow functions, template literals, enhanced object properties, destructuring assignment, classes and modules, transpiling, and iterators and generators.

In the second chapter, we covered JavaScript's asynchronous programming paradigms. We discussed the JavaScript event loop, callbacks, promises, and the async/await syntax. This chapter prepared us to apply the material from Chapter 1, Introducing ECMAScript 6 and write powerful asynchronous programs.

In this chapter, we will learn about the Document Object Model (DOM) and the JavaScript Event object. In the first topic, we will define the Document Object Model and explain DOM chaining, navigation, and manipulation. Then, we will explain the JavaScript event object and show how to interact with and handle...