how to use async await in self invoke function in js code example Example: async iife (async () => { // code goes here })();