Skip to content

Commit

Permalink
Docs: more explicit return value of _.defaults; Closes jashkenas#2625
Browse files Browse the repository at this point in the history
  • Loading branch information
philfreo committed Dec 27, 2016
1 parent 5b60fd4 commit 616386f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1548,8 +1548,8 @@ <h2 id="objects">Object Functions</h2>
<p id="defaults">
<b class="header">defaults</b><code>_.defaults(object, *defaults)</code>
<br />
Fill in <tt>undefined</tt> properties in <b>object</b> with the first
value present in the following list of <b>defaults</b> objects.
Returns <b>object</b> after filling in its <tt>undefined</tt> properties
with the first value present in the following list of <b>defaults</b> objects.
</p>
<pre>
var iceCream = {flavor: "chocolate"};
Expand Down

0 comments on commit 616386f

Please sign in to comment.