mirror of
https://github.com/whoisclebs/lodash.git
synced 2026-01-31 23:37:49 +00:00
Fixing #185
This commit is contained in:
@@ -431,8 +431,8 @@ _.min(numbers);
|
||||
<p id="sortBy">
|
||||
<b class="header">sortBy</b><code>_.sortBy(list, iterator, [context])</code>
|
||||
<br />
|
||||
Returns a sorted <b>list</b>, ranked by the results of running each
|
||||
value through <b>iterator</b>.
|
||||
Returns a sorted copy of <b>list</b>, ranked by the results of running
|
||||
each value through <b>iterator</b>.
|
||||
</p>
|
||||
<pre>
|
||||
_.sortBy([1, 2, 3, 4, 5, 6], function(num){ return Math.sin(num); });
|
||||
|
||||
Reference in New Issue
Block a user