What's the current best practice for executing a function included by adding a (potentially async, deferred) script tag on the page?
We used to have scripts load synchronously, so we could immediately start using the library the next line:
<head>
<script src="/my-library-2001.js"/>
<script>
myLib.hello(); // works!
</script>