async await fetch json 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();
}