15 lines*
Fun fact: The IIFE is no longer necessary as top-level `await` was introduced in the ES2022 spec ๐
Login to reply
Replies (2)
Right :) But it requires marking the file as mjs or something.
You can say there are like 3 actual lines of code, the rest is boilerplate :)