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