From c7aa5577887bf7643e1f97ad56992cf5eb3b7ec3 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 29 Dec 2017 11:49:39 +0000 Subject: [PATCH] Travis build: 502 --- 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 4e0a0218b..fd4b8ca85 100644 --- a/README.md +++ b/README.md @@ -4107,6 +4107,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 1a2f482cc..31cb96ec6 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1828,6 +1828,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 a4c558f87..cebe29371 100644
--- a/snippets/max.md
+++ b/snippets/max.md
@@ -12,6 +12,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
 
 
 
+
 const max = (...arr) => Math.max(...[].concat(...arr);
 ```