`<script type="module">`
chengjun0323 opened this issue · comments
chengjun commented
<script type="module">
- 模块自动使用严格模式
- 需要使用 defer 属性,模块会自动延迟加载
Originally posted by @haotie1990 in #482 (comment)
wxlichuang commented
- 可以使用 js 最新语法引用外部脚本
- 可以实现模块化
互联网大厂内推及大厂面经整理,并且每天一道面试题推送。每天五分钟,半年大厂中
chengjun0323 opened this issue · comments
<script type="module">
Originally posted by @haotie1990 in #482 (comment)