
Advanced JavaScript
Speed up web development with the powerful features and benefits of JavaScript
- 330 pages
- English
- ePUB (mobile friendly)
- Available on iOS & Android
Advanced JavaScript
Speed up web development with the powerful features and benefits of JavaScript
About this book
Gain a deeper understanding of JavaScript and apply it to build small applications in backend, frontend, and mobile frameworks.
Key Features
- Explore the new ES6 syntax, the event loop, and asynchronous programming
- Learn the test-driven development approach when building apps
- Master advanced JavaScript concepts to enhance your web developments skill
Book Description
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.
What you will learn
- Examine major features in ES6 and implement those features to build applications
- Create promise and callback handlers to work with asynchronous processes
- Develop asynchronous flows using Promise chaining and async/await syntax
- Manipulate the DOM with JavaScript
- Handle JavaScript browser events
- Explore Test Driven Development and build code tests with JavaScript code testing frameworks.
- List the benefits and drawbacks of functional programming compared to other styles
- Construct applications with the Node.js backend framework and the React frontend framework
Who this book is for
This book is designed to target anyone who wants to write JavaScript in a professional environment. We expect the audience to have used JavaScript in some capacity and be familiar with the basic syntax. This book would be good for a tech enthusiast wondering when to use generators or how to use Promises and Callbacks effectively, or a novice developer who wants to deepen their knowledge on JavaScript and understand TDD.
Frequently asked questions
- Essential is ideal for learners and professionals who enjoy exploring a wide range of subjects. Access the Essential Library with 800,000+ trusted titles and best-sellers across business, personal growth, and the humanities. Includes unlimited reading time and Standard Read Aloud voice.
- Complete: Perfect for advanced learners and researchers needing full, unrestricted access. Unlock 1.4M+ books across hundreds of subjects, including academic and specialized titles. The Complete Plan also includes advanced features like Premium Read Aloud and Research Assistant.
Please note we cannot support devices running on iOS 13 and Android 7 or earlier. Learn more about using the app.
Information
Chapter 1
Introducing ECMAScript 6
Learning Objectives
- 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
Introduction
Beginning with ECMAScript
Note
Understanding Scope
- Function scope
- Block scope
Function Scope
Snippet 1.1: Function Scope
Note
Function Scope Hoisting
Snippet 1.2: Function Scope Hoisting
Note
Block Scope
Snippet 1.3: Block Scope
Snippet 1.4: Temporal Dead Zone
Note
Table of contents
- Preface
- Chapter 1
- Chapter 2
- Chapter 3
- Chapter 4
- Chapter 5
- Chapter 6
- Appendix