3 ms·
Same here. Look how clean it is! with(console){ with(new XMLHttpRequest()){ onload=()=>log(responseText); onerror=error; open("GET", "https://
by 6510 5y ago
Same here. Look how clean it is!
with(console){
with(new XMLHttpRequest()){
onload=()=>log(responseText);
onerror=error;
open("GET", "https://..");
send();
}
}
I'm only half joking.
- cyco130 5y agoMy... eyes... For people less familiar with the subject: console.log(await fetch("https:/...").then(r => r.text())) I agree progress reporting needs improvement though.