The code below loads YouTube API asynchronously
var tag = document.createElement('script');
tag.src = "https://www.youtube.com/iframe_api";
var firstScriptTag = document.getElementsByTagName('script')[0];
firstScriptTag.parentNode.insertBefore(tag, firstScriptTag);
How does it behave differently from simply having
<script src="https://www.youtube.com/iframe_api"></script>
on top of the page? What does it actually mean to "asynchronously load" something?