fetch() global function - Web APIs | MDN

The global fetch() method starts the process of fetching a resource from the network, returning a promise that is fulfilled once the response is available.