async function in javascript w3schools code example
Example 1: javascript async script
<script async src="script.js"></script>
Example 2: script async syntax
<script src="demo_async.js" async></script>
<script async src="script.js"></script>
<script src="demo_async.js" async></script>