ES6, the newest JavaScript update since 2009, brings some useful & intriguing features. Not a whole lot is groundbreaking, but almost everything here can make your life easier.
Craig looks at new features in ES2018 (ES9), including asynchronous iteration, Promise.finally(), rest/spread properties and RegEx lookbehind assertions.
JavaScript ES6 introduces a new data structure, called maps. Maps are designed as an alternative to using Object literals for storing key/value pairs that require unique keys, and provide very useful…
JavaScript modules are now supported in all major browsers! This article explains how to use JS modules, how to deploy them responsibly, and how the Chrome team is working to make modules even better in the future.
Starting with version 8.5.0, Node.js supports ES modules natively, behind a command line option. Most of the credit for this new functionality goes to Bradley Farias. This blog post explains the details.
It's been two very active years since the release of ES6, and we've seen pretty substantial changes in how we build JavaScript applications. While some complain of fatigue, there's never been a more exciting time to be a JavaScript engineer.
In a previous article, I introduced a neat little pattern I use to leverage Promise.then() so that I can compose both synchronous and asynchronous functions together into a sort of sequential…