ES6 for Drupal Developers: ES6 Modules, Classes, and Promises

Some of the most important new features in ES6 originate from existing solutions for problems shared by a large swath of JavaScript applications, and this is true of ES6 modules, a new system of class-based inheritance, and promises. At some point, all three have been present in various JavaScript libraries, but until now, they were impossible to implement natively.
Author: 
Original Post: 

About Drupal Sun

Drupal Sun is an Evolving Web project. It allows you to:

  • Do full-text search on all the articles in Drupal Planet (thanks to Apache Solr)
  • Facet based on tags, author, or feed
  • Flip through articles quickly (with j/k or arrow keys) to find what you're interested in
  • View the entire article text inline, or in the context of the site where it was created

See the blog post at Evolving Web

Evolving Web