๐Ÿ”ฐbrowser-specific features

JS โŸฉ module โŸฉ ES module โŸฉ browser-specific

  • are always deferredโ—๏ธ( ๐Ÿ‘‰๐Ÿป See: tab 1๏ธโƒฃ )

  • doesnโ€™t block HTML processing, they load in parallel with other resources.

  • wait until the HTML document is fully ready, and then run.

  • always โ€œseeโ€ the fully loaded HTML-page (โญ๏ธ including HTML elements below themโ—๏ธ)

  • relative order of scripts is maintained: scripts that go first in the document, execute first.

Last updated

Was this helpful?