1
JavaScriptAdvanced#performance#memory
Both download the script without blocking parsing. async executes as soon as it is ready, in unpredictable order; defer waits until the HTML is parsed and preserves document order.
<script src="analytics.js" async></script> <script src="app.js" defer></script>