XMLHttpRequest as a promise
Primary LanguageJavaScript
XMLHttpRequest as a promise.
Via https://gist.github.com/matthewp/3099268