Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixed typo
Making the world better one letter at a time.
  • Loading branch information
chrisfraser committed Oct 9, 2012
1 parent 90730e6 commit 7cf519c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Expand Up @@ -516,7 +516,7 @@ <h3>Loop Performance - Cache Array Length</h3>

<h4>The Exception</h4>
<p>
If you're looping through an array to find an remove a particular item, this will alter the array length. Any time you change the array length by either adding or removing items from inside the loop, you will get yourself into trouble. Consider either re-setting the length or avoid caching it for this particular situation
If you're looping through an array to find and remove a particular item, this will alter the array length. Any time you change the array length by either adding or removing items from inside the loop, you will get yourself into trouble. Consider either re-setting the length or avoid caching it for this particular situation
</p>

</div>
Expand Down

0 comments on commit 7cf519c

Please sign in to comment.