Skip to content

Commit

Permalink
Fixes #700 -- in reverse. talk less about strict equality.
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Aug 30, 2012
1 parent 811794f commit f654312
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions index.html
Expand Up @@ -506,9 +506,8 @@ <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>, using
<i>===</i> to test equality. Uses <b>indexOf</b> internally, if <b>list</b>
is an Array.
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>
_.include([1, 2, 3], 3);
Expand Down Expand Up @@ -724,7 +723,7 @@ <h2 id="arrays">Array Functions</h2>
<b class="header">without</b><code>_.without(array, [*values])</code>
<br />
Returns a copy of the <b>array</b> with all instances of the <b>values</b>
removed. <i>===</i> is used for the equality test.
removed.
</p>
<pre>
_.without([1, 2, 1, 0, 3, 1, 4], 0, 1);
Expand Down

0 comments on commit f654312

Please sign in to comment.