1var reader = new FileReader();
2reader.onload = function() {
3 alert(reader.result);
4}
5reader.readAsText(blob);
1<RESPONSE PROMISE>
2.then(r=>r.blob())
3.then(r=>{
4console.log(r.type)
5return new Response(r)
6})
7.then(r=>
8 r.text()
9)
10.then(console.log)