Skip to content

Commit

Permalink
Merge pull request #726 from braddunbar/drop-alias
Browse files Browse the repository at this point in the history
Document `drop` alias.
  • Loading branch information
jashkenas committed Aug 30, 2012
2 parents 1118772 + 879acb4 commit 310d152
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Expand Up @@ -506,7 +506,7 @@ <h2 id="collections">Collection Functions (Arrays or Objects)</h2>
<b class="header">include</b><code>_.include(list, value)</code>
<span class="alias">Alias: <b>contains</b></span>
<br />
Returns <i>true</i> if the <b>value</b> is present in the <b>list</b>.
Returns <i>true</i> if the <b>value</b> is present in the <b>list</b>.
Uses <b>indexOf</b> internally, if <b>list</b> is an Array.
</p>
<pre>
Expand Down Expand Up @@ -683,7 +683,7 @@ <h2 id="arrays">Array Functions</h2>

<p id="rest">
<b class="header">rest</b><code>_.rest(array, [index])</code>
<span class="alias">Alias: <b>tail</b></span>
<span class="alias">Alias: <b>tail, drop</b></span>
<br />
Returns the <b>rest</b> of the elements in an array. Pass an <b>index</b>
to return the values of the array from that index onward.
Expand Down

0 comments on commit 310d152

Please sign in to comment.