Created
May 2, 2018 23:11
-
-
Save ghostCoder/f49d8e66cefc1e588269d129932325a8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- executed third --> | |
<script type="module"> | |
console.log("Inline module!"); | |
</script> | |
<!-- executed first --> | |
<script src="main.js"></script> | |
<!-- executed second --> | |
<script defer> | |
console.log("Inline script!"); | |
</script> | |
<!-- executed fourth --> | |
<script defer src="main.js"></script> | |
<!-- executed as soon as downloaded --> | |
<script async type="module"> | |
import {log} from './main.js'; | |
log("Inline module!"); | |
</script> | |
<!-- executed as soon as downloaded --> | |
<script async type="module" src="main.js"></script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment