async iife
snippet in javascript

async iife

user7790

(async () => {
    // code goes here
})();

async await iife

user4614

(async () => {
    // code goes here
})();