javascript async fetch file html code example
Example: javascript async fetch file html
async function () {
element.innerHTML = await (await fetch('./filetofetch.html')).text();
}
async function () {
element.innerHTML = await (await fetch('./filetofetch.html')).text();
}