About the Book
- A detailed look at the new and awesome ES6 features in a historical context, highlighting why they exist and which problems they're trying to solve
- A breathtaking story of EPIC proportions and awkward sense of humor...
We, programmers, sadly do not live in such a world. But we do have a measure of magic in ourselves, we have the skills and power to create things out of nothingness. And even if we cannot throw fireballs or levitate (yet), we can definitely change/improve/enhance reality and the universe around us with our little creations. Ain't that freaking awesome?
Andreas is a consultant, passionate programmer, double master and a lifelong learner.
Andreas enjoys all sorts of tech and has been developing software that runs on everything from ship engines to the cloud. He enjoys working in the full stack because it’s rewarding, exciting and challenging, all at the same time.
Independent software consultant and agile coach, Nathan is pas- sionate about development and a firm believer in agile principles. In his day job he is contractor helping clients to build and deliver working software.
Nathan has successfully bootstrapped agile teams in various com- panies and has given presentations on technology and agile at a number of events.
Software Developer at Simplygon
Software Developer and IT Consultant at Active Solution
I read it and it's awesome! Book tip for those who want to gain/refresh some JS skills :)
Software Developer at NéoSynergix Inc.
Junior Front End Developer at Realm Entertainment Ltd
- About The Author
- About the Technical Reviewers
- A Story About Why I Wrote This Book
- What is the Goal of This Book?
- Is This Book For You?
- How is The Book Organized?
- Understanding the Code Samples in This Book
- A Note About ECMAScript 5 and ECMAScript 6,7 within The Book
- A Note About the Use of Generalizations in This Book
- Do You Have Any Feedback? Found Any Error?
- A Final Word From the Author
- Once Upon a Time…
- Exception Handling
- Regular Expressions
- The Basics Of Functions
- Functions are the Key
- Function Expressions
- Function Declarations
- Concluding: Prefer Function Declarations and Named Function Expressions
Useful Function Patterns: Default Arguments
- Have You Heard Of Defaults?
- Defaults with Objects
- Native Default Arguments with ECMAScript 6
More Useful Function Patterns: Arbitrary Arguments
- An Arbitrary Number of Arguments
- Functions with Arbitrary Arguments Right Now!
- Array-Like Objects
- Native Arbitrary Arguments with ES6 Rest Parameters
More Useful Function Patterns: Function Overloading
- Have you Heard About The Marvels Of Overloading?
- How Do We Do Function Overloading Then?
- Function Overloading by Inspecting Arguments
- Using an Options Object
- Relying on ES6 Defaults
- Taking Advantage of Polymorphic Functions
- An Army of Objects
- Object Initializers (a.k.a. Object Literals)
- Creating Objects With Factories
- ES6 Improves Object Initializers
- ES6 Symbols and Data Privacy
- This, Your Most Dangerous Foe
- Type Coercion Madness
A Guide to Strings, Finding the Right Words and Proper Spell Intonation
- Find the Right Words You Must
- The Basic Of Strings
- New String Features in ES6
- String Cheatsheet
- Welcome to the Future! ECMAScript 6
- Destructure All The Things!
- Destructuring Objects
- Destructuring Arrays
- Destructuring Function Arguments
- Behold! The Arrow Function!
- Arrow Functions Arcana
- Arrow Functions And This Gotchas
- Arrow Functions Don’t Have Arguments Object
- Arrow Functions and the New and Super Operators
- Ready To Spread Your Wings?
- Use the Spread Operator to Seamlessly Concatenate Arrays
- Easily Use Apply With the Spread Operator
- Converting Array-likes and Collections Into Arrays
- Spread Lets You Combine New and Apply
- We’ll Just Need To Make Sense of All These Items
- An Extremely Flexible Data Structure
- Sorting Arrays
- Safe Array Methods
- Other ES6 and ES7 Features
- Array Cheatsheet
Organizing Your Data With ES6 Maps
- Take a Look at These Maps
- Iterating Over the Elements of a Map
- Creating a Map From an Iterable Collection
- Map Cheatsheet
Sets, For When There Can Only Be One
- You Are One of a Kind
- Working With Sets
- Iterating Sets
- Using Array Methods With Sets
- How Do Sets Understand Equality?
- Sets Cheatsheet
- Book I. Epilogue
Introduction to the Path of Summoning and Commanding Objects (a.k.a. Object Oriented Programming)
- OOP Beyond Classes
- Combining Classes with Object Composition
- The Path of the Object Summoner Step by Step
- Introduction to the Path of Summoning and Commanding Objects (a.k.a. Object Oriented Programming)
References and Appendix
Appendix A. Setting Up Your Developing Environment For ES6
- Using ES6 with Node.js
- ES6 and Modern Browsers
- Real-World ES6 Development Environments
- Appendix B. Fantasy Glossary
- Appendix A. Setting Up Your Developing Environment For ES6
The Leanpub 60-day 100% Happiness Guarantee
Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.
See full terms
80% Royalties. Earn $16 on a $20 book.
We pay 80% royalties. That's not a typo: you earn $16 on a $20 sale. If we sell 5000 non-refunded copies of your book or course for $20, you'll earn $80,000.
(Yes, some authors have already earned much more than that on Leanpub.)
In fact, authors have earnedover $12 millionwriting, publishing and selling on Leanpub.
Learn more about writing on Leanpub
Free Updates. DRM Free.
If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).
Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.
Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.