forEach does not modify the array
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 55/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- documentation
Research direction
Find the Array Methods subsection in the JavaScriptCheatSheet content and review the statement about whether methods modify the original array. Confirm the wording against forEach behavior, then update the statement so it accurately describes the methods and the possible effects of the callback. Done means the subsection no longer incorrectly distinguishes forEach.
Written by the indexing model from the issue text.
Description
In the subsection Array Methods:
With the exception of
forEach, the above functions do not modify the array they are given.
forEach behaves exactly in the same manner as the rest of those functions. None of them, forEach included, modifies the original array.
(But also none of them can prevent that you change it inside the iterating function)
- Dominant language
- No language data
- Stars
- 221
- Forks
- 23
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from alhassy/JavaScriptCheatSheet
-
help wanted
Difficulty 1/5 Under an hour Newbie friendliness 70/100
-
help wanted
Difficulty 1/5 Under an hour Newbie friendliness 50/100
alhassy/JavaScriptCheatSheet#5 · 2 comments ·
-
alhassy/JavaScriptCheatSheet#1 · 1 reaction · 1 assignee ·
All issues in alhassy/JavaScriptCheatSheet
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
palladius/rails8-app-on-gcp#145 ·
-
NeedsTriage
Difficulty 1/5 Under an hour Newbie friendliness 90/100
-
error Open
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
textual definition
Difficulty 1/5 Under an hour Newbie friendliness 90/100
geneontology/go-ontology#32653 ·