Incorrect information on one of the points
MDN URL
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Keyed_collections
What specific section or headline is this issue about?
Object and Map compared
What information was incorrect, unhelpful, or incomplete?
Under the three tips which can help to decide whether to use a Map or object, you said that use map over objects when all keys are same type and values are same type. but a map supports keys and values of different types.
Reference "Use maps over objects when keys are unknown until run time, and when all keys are the same type and all values are the same type."
What did you expect to see?
I expect to see correct and more clear info
Do you have any supporting links, references, or citations?
(https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Keyed_collections#object_and_map_compared)
Do you have anything more you want to share?
No response
MDN metadata
Page report details
- Folder:
en-us/web/javascript/guide/keyed_collections - MDN URL: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Guide/Keyed_collections
- GitHub URL: https://github.com/mdn/content/blob/main/files/en-us/web/javascript/guide/keyed_collections/index.md
- Last commit: https://github.com/mdn/content/commit/30c9f71e6a6cac4d894688cabf7e4b50af87cfe5
- Document last modified: 2025-07-19T12:19:17.000Z
Hi, @Josh-Cena I'd love to work on this.
Sure
thank you, @Josh-Cena are you able to review my first PR here: https://github.com/mdn/content/pull/43326? I’m a new contributor, I only discovered this repo a few days ago and I’m excited to start contributing to the content.
I’d really appreciate any feedback you have! Thanks so much 😊
Please wait for Hamish. He only works on MDN on certain days. In general, give maintainers at least a week before nudging.
oh, okay. I got it.
@Josh-Cena @hamishwillee This issue is solved in #43326.
@BHUVANSH855 No it isn't. That issue fixes https://github.com/mdn/content/issues/43297 (the comment above https://github.com/mdn/content/issues/43272#issuecomment-3999544036 should never have been posted here - it is unrelated.).
This is still open.
@BHUVANSH855 No it isn't. That issue fixes https://github.com/mdn/content/issues/43297 (the comment above https://github.com/mdn/content/issues/43272#issuecomment-3999544036 should never have been posted here - it is unrelated.).
This is still open.
Ok then I would like to propose PR for this, can i ?