Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ <h3 id="arrays">Arrays</h3>
<p>To work with data in Arrays, just wrap it in <code>_()</code>. The Highland methods are then available on it:</p>
<pre><code class="javascript">function toUpperCase(string) {
return string.toUpperCase();
});
};
var shouty = _(['foo', 'bar', 'baz']).map(toUpperCase); // => 'FOO' 'BAR' 'BAZ'</code></pre>
<p>These methods return Stream objects, not Arrays, so you can chain together method calls:</p>
<pre><code class="javascript">_(['foo', 'bar', 'baz']).map(toUpperCase).map(function (x) {
Expand Down