5 ms·
well yes but also did those attributes exist in 2014? (genuine question, i dont know)
by swyx 4y ago
well yes but also did those attributes exist in 2014? (genuine question, i dont know)
- deleted 4y ago[deleted]
- masswerk 4y agoI guess, it was. MDN [1] lists `async` for Firefox 1 and Chrome 1, `defer` for Firefox 3.5. [1] https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script#browser_compatibility https://developer.mozilla.org/en-US/docs/Web/HTML/Element/sc... In favor of the article, it has to mentioned that putting any script tags at the very end of documents was apparently taught in bootcamps, could be found in numerous tutorials, and was generally acknowledged. (There were even quite authoritative feelings about this. A few years ago you could have been downvoted for a comment like this. At least, I was.)