diff --git a/docs/index.html b/docs/index.html index 49424ea..d7bbada 100644 --- a/docs/index.html +++ b/docs/index.html @@ -287,7 +287,7 @@

Arrays

To work with data in Arrays, just wrap it in _(). The Highland methods are then available on it:

function toUpperCase(string) {
     return string.toUpperCase();
-});
+};
 var shouty = _(['foo', 'bar', 'baz']).map(toUpperCase); // => 'FOO' 'BAR' 'BAZ'

These methods return Stream objects, not Arrays, so you can chain together method calls:

_(['foo', 'bar', 'baz']).map(toUpperCase).map(function (x) {