Consequences javascript can have document.write in the code?
The question is about this article: https://www.html5rocks.com/en/tutorials/speed/script-loading/ They are saying this: <script src="//other-domain.com/1.js"></script> <script src="2.js"></script> Ahh, blissful simplicity. Here the browser will download both scripts in parallel and execute them as soon as possible, maintaining their order. “2.js” won’t execute until “1.js” has executed (or failed to do so), “1.js” won’t execute until the previous script or stylesheet has executed, etc etc. Unfortunately, the browser blocks further rendering of the page while all this is happening. This is due