alhassy / alhassy/JavaScriptCheatSheet
forEach does not modify the array
Aberta
help wanted
- Linguagem predominante
- Sem dados de linguagem
- Estrelas
- 221
- Forks
- 23
- Métricas de merge de PRs
- Nenhum PR com merge em 30d
Descrição
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)
Guia de contribuição
Nenhum guia de contribuição indexado para este repositório
Avaliação
Esta issue ainda não foi avaliada.