Skip to content

Commit

Permalink
Fix: Update link path (#332)
Browse files Browse the repository at this point in the history
  • Loading branch information
heyallan committed Dec 17, 2020
1 parent c6ab686 commit 9336cd2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ <h2 id="Description">Description</h2>

<h3 id="When_not_to_use_map">When not to use map()</h3>

<p>Since <code>map</code> builds a new array, using it when you aren't using the returned array is an anti-pattern; use {{jsxref("Array/forEach", "forEach")}} or {{jsxref("for...of", "for-of")}} instead.</p>
<p>Since <code>map</code> builds a new array, using it when you aren't using the returned array is an anti-pattern; use {{jsxref("Array/forEach", "forEach")}} or {{jsxref("Statements/for...of", "for...of")}} instead.</p>

<p>You shouldn't be using <code>map</code> if:</p>

Expand Down

0 comments on commit 9336cd2

Please sign in to comment.