From 74da7dffda1cbd4865d4ad90ea38b042963eab07 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 29 Dec 2017 11:52:54 +0000 Subject: [PATCH] Travis build: 506 --- 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 e87a7a70a..ea3a1fa7e 100644 --- a/README.md +++ b/README.md @@ -4109,6 +4109,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 3d0e7717d..8b1fcfd19 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1830,6 +1830,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 fa12b8760..e5e6beb15 100644
--- a/snippets/max.md
+++ b/snippets/max.md
@@ -14,6 +14,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
 
 
 
+
 const max = (...arr) => Math.max(...[].concat(...arr);
 ```