-
Notifications
You must be signed in to change notification settings - Fork 23.2k
Clarify that the array contains a hole #38729
Copy link
Copy link
Closed
Labels
Content:JSJavaScript docsJavaScript docsgood first issueA good issue for newcomers to get started with.A good issue for newcomers to get started with.
Description
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types
What specific section or headline is this issue about?
Literals > Array
What information was incorrect, unhelpful, or incomplete?
What did you expect to see?
In the following example, the length of the array is three. There is no myList[3] and myList[1] is empty. All other commas in the list indicate a new element.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
I think this change makes more clear to understand and read.
MDN metadata
Page report details
- Folder:
en-us/web/javascript/guide/grammar_and_types - MDN URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Grammar_and_types
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/javascript/guide/grammar_and_types/index.md
- Last commit: 8cf6d8c
- Document last modified: 2025-03-07T01:20:01.000Z
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Content:JSJavaScript docsJavaScript docsgood first issueA good issue for newcomers to get started with.A good issue for newcomers to get started with.