Skip to content

Commit cf33b67

Browse files
committed
minor fixes
1 parent 9ba208f commit cf33b67

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

1-js/13-modules/01-modules-intro/article.md

+3-2
Original file line numberDiff line numberDiff line change
@@ -230,11 +230,12 @@ sayHi(); // Ready to serve, *!*Pete*/!*!
230230

231231
The 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

0 commit comments

Comments
 (0)