Treffer: Learning ECMAScript 6
Weitere Informationen
About This BookLearn a powerful approach to writing object-oriented JavaScript code using ES6Create and use ES6 modules to learn to write smart, modularized JavaScript codeThe 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 skills, and now want to learn about the latest ES6 features in order to develop better client-side programs with JavaScript, then this book is for you.What You Will LearnExplore the usage of the new syntaxes introduced by ES6Use the new prototype-based features introduced by ES6Execute ES6 in an old non-supported ES6 environmentWrite asynchronous code using Promise to facilitate the writing of better asynchronous code that is easier to read and maintainCreate and understand the usage of iterators, iterables, and generatorsGet to know object-oriented programming and create objects using classesBuild proxies using the ES6 proxy API and understand its usesCreate JavaScript libraries using ES6 modulesIn DetailThis book will provide step-by-step instructions on how to use 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, compares them with ES6 modules, and looks at how ES6 modules can increase the performance of websites when used.