From d28c5de1444850542e1c75a56f37b3e034a72536 Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 29 Dec 2017 12:01:39 +0000 Subject: [PATCH] Travis build: 516 --- 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 89ba6ed73..fcb494629 100644 --- a/README.md +++ b/README.md @@ -4115,6 +4115,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 8fc47ae44..9948ab399 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1836,6 +1836,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 3265868b9..3070bd453 100644
--- a/snippets/max.md
+++ b/snippets/max.md
@@ -20,6 +20,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
 
 
 
+
 const max = (...arr) => Math.max(...[].concat(...arr);
 ```