-
Notifications
You must be signed in to change notification settings - Fork 23.1k
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/Working_with_objects
What specific section or headline is this issue about?
Using object initializers
What information was incorrect, unhelpful, or incomplete?
The text contains:
Each property name before colons is an identifier (either a name, a number, or a string literal)
That is not correct in at least two ways:
- In the example preceding the text, not every property name is an identifier, only one is.
- An identifier is not either a name, a number, or a string literal. In this context, the literals are a certain subset of the strings, and those can be written without
""in this context.
What did you expect to see?
"literal" instead of "identifier" probably would work.
Do you have any supporting links, references, or citations?
No response
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/javascript/guide/working_with_objects - MDN URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Working_with_objects
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/javascript/guide/working_with_objects/index.md
- Last commit: 67bcc0f
- Document last modified: 2025-12-17T18:54:16.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.
Type
Projects
Status
Done