javascript

Optimizing JavaScript loading with defer and async attributes

We are all used to using the script tag to load external JavaScript files in our HTML. Traditionally, the only…

3 years ago

Measuring JavaScript execution time

When it comes to performance of applications, measuring performance becomes important. For anything to be optimized, it must be measured…

3 years ago

Numeric Separators in JavaScript

Writing performant code is not enough as a developer. We need to ensure that it is readable as well. And…

3 years ago

Apply timeout to JavaScript Promises

JavaScript promises do not have any time associated with them. We can use a .then() function and wait until the…

3 years ago

Writing better conditional expressions in JavaScript

Writing conditional expressions is pretty easy to do. But there is room for improvement in the way we have been…

4 years ago

Using the optional chaining operator in JavaScript

Every now and then, you come across a JavaScript feature that vastly changes the way you write it. Destructuring, arrow…

4 years ago

How to format a Number as Currency using ES2015

The process to format a number as currency can be a tedious task. It feels like a small task, but…

4 years ago

JavaScript Proxy: What and Why?

EcmaScript 2015 introduced yet another feature that has not been used widely yet. A JavaScript proxy allows us to wrap…

4 years ago
Advertisements