Is the “async” attribute/property useful if a script is dynamically added to the DOM?
问题 This question is sort of a tangent to Which browsers support <script async="async" />?. I\'ve seen a few scripts lately that do something like this: var s = document.createElement(\'script\'); s.type = \'text/javascript\'; s.async = true; s.src = \'http://www.example.com/script.js\'; document.getElementsByTagName(\'head\')[0].appendChild(s); This is a common way to add a script to the DOM dynamically, which, IIRC from Steve Souders\'s book \"Even Faster Web Sites,\" prompts all modern