Promise.all(), Promise.race(), and Promise.any()
What pattern does this code demonstrate?
const promises = urls.map(url => fetch(url).catch(e => e));
Promise.all(promises).then(results => {
const successful = results.filter(r => !(r instanceof Error));
console.log(successful);
});