ajax with promise Vanilla. GitHub Gist: instantly share code, notes, ... return new Promise(function(resolve,reject). {. var req = new XMLHttpRequest();.
確定! 回上一頁