Modelos de JavaScript

// JS 
<script  type="text/javascript" src="min.js"></script>

// defer 
<script src="demo_defer.js" defer></script>

// js module
<script type="module" src="main.js"></script>

// json
<script id="data" type="application/json">{"userId":1234,"userName":"John Doe","memberSince":"2000-01-01T00:00:00.000Z"}</script>

// more info https://developer.mozilla.org/en-US/docs/Web/HTML/Element/script
Tung