en.javascript.info icon indicating copy to clipboard operation
en.javascript.info copied to clipboard

Minor inconsistency in comprehension flow in Map & Set article

Open R-Alex-F opened this issue 4 months ago • 0 comments

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! 👌

R-Alex-F avatar Sep 10 '25 10:09 R-Alex-F