File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
1-js/13-modules/01-modules-intro Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -230,11 +230,12 @@ sayHi(); // Ready to serve, *!*Pete*/!*!
230230
231231The object ` import.meta ` contains the information about the current module.
232232
233- Its content depends on the environment. In the browser, it contains the url of the script, or a current webpage url if inside HTML:
233+ Its content depends on the environment. In the browser, it contains the URL of the script, or a current webpage URL if inside HTML:
234234
235235``` html run height=0
236236<script type =" module" >
237- alert (import .meta.url); // script url (url of the html page for an inline script)
237+ alert (import .meta.url); // script URL
238+ // for an inline script - the URL of the current HTML-page
238239< / script>
239240` ` `
240241
You can’t perform that action at this time.
0 commit comments