Demo 06 — plain vs defer vs async

Open the console, then reload a few times (Ctrl+R). The inline script in the head logs first — before the text below it even exists. The last two lines can swap: an async script runs as soon as it is downloaded; a defer script keeps its place at the end.

…