Learning ECMAScript 6
eBook - ePub
No longer available |Learn more

Learning ECMAScript 6

Narayan Prusty

Share book
  1. 202 pages
  2. English
  3. ePUB (mobile friendly)
  4. Available on iOS & Android
eBook - ePub
No longer available |Learn more

Learning ECMAScript 6

Narayan Prusty

Book details
Table of contents
Citations

About This Book

Learn all the new ES6 features and be amongst the most prominent JavaScript developers who can write efficient JS programs as per the latest standards!

About This Book

  • Learn a powerful approach to writing object-oriented JavaScript code using ES6
  • Create and use ES6 modules to learn to write smart, modularized JavaScript code
  • The book will take you step-by-step through a wide array of examples, giving you tips on how to make the best use of the latest ES6 features

Who This Book Is For

If you are a JavaScript developer with basic development, and now want to learn about the latest features in order to develop better client-side programs with JavaScript, then this book is for you.

What You Will Learn

  • Explore the usage of new syntaxes introduced by ES6
  • Use the new prototype-based features introduced by ES6
  • Execute ES6 in an old non-supported ES6 environment
  • Write asynchronous code using promise to facilitate the writing of better asynchronous code that is easier to read and maintain
  • Create and understand the usage of iterators, iterables, and generators
  • Get to know object-oriented programming and create objects using classes
  • Build proxies using the ES6 proxy API and understand its uses
  • Create JavaScript libraries using ES6 modules

In Detail

ECMAScript 6 is the new edition to the ECMAScript language, whose specifications are inherited by JavaScript. ES6 gives a vast makeover to JavaScript by adding new syntaxes and APIs to write complex applications and libraries that are easier to debug and maintain. ES6 aims to keep JavaScript accessible for casual developers, even after adding so many new features.

This book will provide step-by-step instructions on how to apply ES6 features instead of old JavaScript hacks and methods.

The book will start by introducing all the built-in objects of ES6 and how to create ES6 custom Iterators. Next, it will teach you how to write asynchronous code in a synchronous style using ES6.

Moving on, the book will teach how to use Reflect API to inspect and manipulate object properties. Next, it teaches how to create proxies, and use it to intercept and customize operations performed on objects.

Finally, it explains old modular programming techniques such as IIFE, CommonJS, AMD, and UMD and also compares it with ES6 modules and how ES6 modules can increase the performance of websites when used.

Style and approach

This book is a pragmatic guide that takes you through the ES6 APIs and other features in a conversational and easy-to-follow style. Each topic is explained with examples and use cases.

Frequently asked questions

How do I cancel my subscription?
Simply head over to the account section in settings and click on ā€œCancel Subscriptionā€ - itā€™s as simple as that. After you cancel, your membership will stay active for the remainder of the time youā€™ve paid for. Learn more here.
Can/how do I download books?
At the moment all of our mobile-responsive ePub books are available to download via the app. Most of our PDFs are also available to download and we're working on making the final remaining ones downloadable now. Learn more here.
What is the difference between the pricing plans?
Both plans give you full access to the library and all of Perlegoā€™s features. The only differences are the price and subscription period: With the annual plan youā€™ll save around 30% compared to 12 months on the monthly plan.
What is Perlego?
We are an online textbook subscription service, where you can get access to an entire online library for less than the price of a single book per month. With over 1 million books across 1000+ topics, weā€™ve got you covered! Learn more here.
Do you support text-to-speech?
Look out for the read-aloud symbol on your next book to see if you can listen to it. The read-aloud tool reads text aloud for you, highlighting the text as it is being read. You can pause it, speed it up and slow it down. Learn more here.
Is Learning ECMAScript 6 an online PDF/ePUB?
Yes, you can access Learning ECMAScript 6 by Narayan Prusty in PDF and/or ePUB format, as well as other popular books in Computer Science & Programming in JavaScript. We have over one million books available in our catalogue for you to explore.

Information

Year
2015
ISBN
9781785884443
Edition
1

Table of contents