Looking at the JavaScript Promise Collection Methods

Let me begin by saying that "Promise Collection Methods" is not something I’ve seen mentioned elsewhere, but is my own way of referring to the various methods of the Promise API that work with multiple promises. They are: Promise.all Promise.allSettled Promise.any Promise.race I’ve used Promise.all many times in the past, and I was aware of the other methods but had not taken the time to actually build a demo of them. This weekend I changed that. After spending a few hours in Sanctuary grinding my Necro character, I put down the controller and picked up the laptop. Here’s what I built. As a note, everything shown here works in modern browsers, but you can check MDN... more →
Posted in: JavaScript

Eich: JavaScript will deliver on Java’s broken promise – InfoWorld

InfoWorld Eich: JavaScript will deliver on Java's broken promiseInfoWorldIs it JavaScript's destiny to accomplish what Java was intended to achieve and be ubiquitous throughout computing? JavaScript founder Brendan Eich believes that could be the case. Speaking at the Node Summit conference in San Francisco this week, Eich … JavaScript – Google News… more →
Posted in: JavaScript