5 lines
84 B
JavaScript
5 lines
84 B
JavaScript
const doc = "doc-xhr.html";
|
|
|
|
function main(url) {
|
|
fetch(url).then(console.log);
|
|
}
|