Skip to content

Commit

Permalink
simplify _.partition documentation example
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelficarra committed Jan 31, 2014
1 parent 407d027 commit 678900b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -851,7 +851,7 @@ <h2 id="arrays">Array Functions</h2>
<b>predicate</b>, and one whose elements all do not satisfy <b>predicate</b>.
</p>
<pre>
_.partition([0, 1, 2, 3, 4, 5], function(e) { return isOdd(e); });
_.partition([0, 1, 2, 3, 4, 5], isOdd);
=&gt; [[1, 3, 5], [0, 2, 4]]
</pre>

Expand Down

0 comments on commit 678900b

Please sign in to comment.