Skip to content

Commit

Permalink
fixing pairs example
Browse files Browse the repository at this point in the history
  • Loading branch information
jashkenas committed Sep 28, 2012
1 parent 9109bcd commit 340232f
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 @@ -1114,8 +1114,8 @@ <h2 id="objects">Object Functions</h2>
Convert an object into a list of <tt>[key, value]</tt> pairs.
</p>
<pre>
_.pairs({one : 1, two : 2, three : 3});
=&gt; [[one: 1], [two: 2], [three: 3]]
_.pairs({one: 1, two: 2, three: 3});
=&gt; [["one", 1], ["two", 2], ["three", 3]]
</pre>

<p id="invert">
Expand Down

0 comments on commit 340232f

Please sign in to comment.