função anônima assíncrona js
(async () => {
await someAsyncFunction();
})();
Outrageous Okapi
(async () => {
await someAsyncFunction();
})();
let x = await (async function() {return "hello"})();
console.log(x);
// or
console.log(await (async() => 'hello')())