-
Notifications
You must be signed in to change notification settings - Fork 23.2k
Wrong reference in jsm vs js file extension guide #43662
Copy link
Copy link
Closed
Labels
Content:JSJavaScript docsJavaScript docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.Triage needed by staff and/or partners. Automatically applied when an issue is opened.
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
What specific section or headline is this issue about?
Aside — .mjs versus .js
What information was incorrect, unhelpful, or incomplete?
It says at the end:
The <script type="module"> attribute is used to denote when a module is being pointed to, as you'll see below.
That "as you can see below" is a broken reference (and also not properly linked).
I Mena technically the part comes below, but veery far later so imho this is confusing. In particular the direct section below is not at all related to this.
What did you expect to see?
Do you have any supporting links, references, or citations?
Maybe there are other solutions?
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/javascript/guide/modules - MDN URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Modules
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/javascript/guide/modules/index.md
- Last commit: aff319c
- Document last modified: 2025-11-03T18:07:59.000Z
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Content:JSJavaScript docsJavaScript docsneeds triageTriage needed by staff and/or partners. Automatically applied when an issue is opened.Triage needed by staff and/or partners. Automatically applied when an issue is opened.