FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

GitHub Viewer

'use strict'; const baseUrl = 'http://localhost:3000'; const promises = [ fetch(`${baseUrl}/person`), fetch(`${baseUrl}/`), fetch(`${baseUrl}/city`), ]; Promise.allSettled(promises) //Promise.all(promises) .then((values) => { console.log(values); }) .catch((err) => { console.log(err); });

Back | FazBrowse Home | New Git URL