From 41509582cddb8fe56eebaad7307cda57fd587895 Mon Sep 17 00:00:00 2001 From: John Susek Date: Fri, 6 Dec 2019 19:43:35 -0600 Subject: [PATCH] Docs fix --- docs/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) {