ES8 Immediately invoked async function expression
Is this ‘a thing’? Yes. It comes up every now and then, e.g. here. They’re known as IIAFEs 🙂 If you want to put focus on the arrow, you could also call them IIAAFs. Are there pitfalls here I should be aware of? Whenever you call a promise-returning function and don’t return the result to … Read more