Promise: all and allSettled
Promises… How long can one hold on to such promises? Nonetheless, this short blog refers to promises in JavaScript. There are two static methods from the Promise object that are used to handle multiple promise instances that resolves to an array of values. These methods are useful for validating and aggregating promise results....
Javascript Capture Event
Events in javascript have been a great way to execute tasks based on different types of explicit or implicit action. Events can be attached to an element using the addEventListener method. There are cases where we attach the same type of event to a parent and its descendants. How do we determine the order of event handling?...