15 lines*

Fun fact: The IIFE is no longer necessary as top-level `await` was introduced in the ES2022 spec 🙂

Reply to this note

Please Login to reply.

Discussion

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 :)