From b1908977321a4b43bce6754a9e0116ef0d6334de Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 29 Dec 2017 11:51:37 +0000 Subject: [PATCH] Travis build: 504 --- 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 fd4b8ca85..e87a7a70a 100644 --- a/README.md +++ b/README.md @@ -4108,6 +4108,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 31cb96ec6..3d0e7717d 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1829,6 +1829,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 cebe29371..fa12b8760 100644
--- a/snippets/max.md
+++ b/snippets/max.md
@@ -13,6 +13,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
 
 
 
+
 const max = (...arr) => Math.max(...[].concat(...arr);
 ```