The Leading eBooks Store Online 4,385,058 members ⚫ 1,459,539 ebooks

New to

Learn more

Learning ECMAScript 6

Learning ECMAScript 6 by Narayan Prusty
Buy this eBook
US$ 27.99
(If any tax is payable it will be calculated and shown at checkout.)
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 featuresWho This Book Is ForIf 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 reflection objects and implement the ES6 Reflect API• 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 modulesIn DetailECMAScript 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, it will teach you how to create reflection objects, use it to expose hidden object properties, and test the security of these objects. Next, the book provides use case scenarios of meta programming by showing you how to create proxies and proxy functions, along with use case scenarios of meta programming by teaching you how to create proxies and proxy functions.Finally, it explains old modular programming techniques such as IIFE, CommonJS, AMD, and UMD and also compares it with Node.js modules and how ES6 modules can increase the performance of websites when used.Style and approachThis 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.
Packt Publishing; August 2015
202 pages; ISBN 9781785886539
Read online, or download in secure EPUB or secure PDF format
Title: Learning ECMAScript 6
Author: Narayan Prusty