โญES module
async scripts
async scripts run immediately when ready, independently of other scripts or the HTML document.
async has no effect on inline normal scripts. For module scripts, it works on inline scripts as well. (๐๐ป See: tab 2๏ธโฃ above)
Cross-Origin Scripts
Scripts fetched from another origin (e.g. another site) require CORS headers, as described in the chapter Fetch: Cross-Origin Requests. ๐ JS.info โฉ External scripts
Last updated