javascript-tutorial / javascript-tutorial/en.javascript.info

Minor inconsistency in comprehension flow in Map & Set article

Open
#3,875 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Description

I noticed that Iteration over Maps uses a feature in its example code, that only later is explained in the next sub-topic Object.entries: Map from Object - namely initialization of a Map via an Iterable argument.

Perhaps some order should be changed for the reader's understanding.

Btw, I am one of those readers and the site is awesome, particularly well-structured and therefore fun to read. Thx for making it! 👌

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the Map & Set article sections linked in the issue: Iteration over Maps and Object.entries: Map from Object. Compare their order and examples, decide how to introduce iterable Map initialization before it is used, then verify the revised sequence and section links in the article.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.