Writing Clean Code in JavaScript
7 JavaScript clean coding tips every developer should knowWriting clean code improves the maintainability of the application and make developers
7 JavaScript clean coding tips every developer should knowWriting clean code improves the maintainability of the application and make developers
When promises were introduced in ECMAScript 2015, they had an interesting flaw: if a promise didn’t have a rejection handler and was later
In my last post, I walked you through the creation of the Promice.race() and Promise.any() methods, both of which work on multiple promises and
In the previous posts in this series, I discussed implementing a promise from scratch in JavaScript. Now that there’s a full promise
When you create a promise with the Promise constructor, you’re creating an unsettled promise, meaning the promise state is pending until either the
In my first post of this series, I explained how the Promise constructor works by recreating it as the Pledge constructor. In the second post in this
In my first post of this series, I explained how the Promise constructor works by recreating it as the Pledge constructor. I noted in that post that
Early on in my career, I learned a lot by trying to recreate functionality I saw on websites. I found it helpful to investigate why something worked
Early on in my career, I learned a lot by trying to recreate functionality I saw on websites. I found it helpful to investigate why something worked
ECMAScript 6 allows programmers to write programs in an asynchronous style, in order to achieve higher performance through concurrency. Object types
Arrow functions are a relatively new way of writing function expressions in JavaScript. They have been introduced by the ECMAScript 6 specifications
One of the most long-awaited features of ECMAScript 6 is the formal definition of modules as part of the language. For years, JavaScript developers
One of the most long-awaited features of ECMAScript 6 is the formal definition of modules as part of the language. For years, JavaScript developers
One of the most long-awaited features of ECMAScript 6 is the formal definition of modules as part of the language. For years, JavaScript developers
With all of the new syntax in ECMAScript 6, you're bound to periodically find something that is confusing (likely as you're hunting down an error).