From d1da9e246a027eaddf7424e24bf408e04e22c7ab Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 29 Dec 2017 12:04:13 +0000 Subject: [PATCH] Travis build: 518 --- README.md | 1 + docs/index.html | 1 + snippets/max.md | 1 + 3 files changed, 3 insertions(+) diff --git a/README.md b/README.md index 28ff5729f..da44e3841 100644 --- a/README.md +++ b/README.md @@ -4117,6 +4117,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va + const max = (...arr) => Math.max(...[].concat(...arr); ``` diff --git a/docs/index.html b/docs/index.html index f32dbeab8..e1f764ce6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1838,6 +1838,7 @@ Use Number() to check if the coercion holds.

+ const max = (...arr) => Math.max(...[].concat(...arr);
max([10, 1, 5]); // 10
diff --git a/snippets/max.md b/snippets/max.md
index c7e761d95..828d3ca6f 100644
--- a/snippets/max.md
+++ b/snippets/max.md
@@ -22,6 +22,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
 
 
 
+
 const max = (...arr) => Math.max(...[].concat(...arr);
 ```