Fetch
A window.fetch JavaScript polyfill
Fetch is a window.fetch polyfill, a Promise-based mechanism for programmatically making web requests in the browser. It is a viable replacement for most uses of XMLHttpRequest in traditional web applications, since it implements a subset of the standard Fetch specification. It is compatible with most popular browsers, however modern versions of browsers like Chrome, Firefox, Microsoft Edge, and Safari already have native implementations of window.fetch, hence the code from this polyfill will...