Skip to content

Commit

Permalink
Fix wording in lazy loading page (mdn#4471)
Browse files Browse the repository at this point in the history
`<script type="module">` is treated *as* a JavaScript module, not just *like* a JavaScript module.
  • Loading branch information
eligrey authored Apr 26, 2021
1 parent 767d30b commit 4dab1a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion files/en-us/web/performance/lazy_loading/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ <h3 id="General">General</h3>
<h3 id="JavaScript">JavaScript</h3>

<p><strong>Script type module</strong><br>
Any script tag with <code>type="module"</code> is treated like a <a href="/en-US/docs/Web/JavaScript/Guide/Modules">JavaScript module</a> and is deferred by default.</p>
Any script tag with <code>type="module"</code> is treated as a <a href="/en-US/docs/Web/JavaScript/Guide/Modules">JavaScript module</a> and is deferred by default.</p>

<h3 id="CSS">CSS</h3>

Expand Down

0 comments on commit 4dab1a1

Please sign in to comment.