From dfa7c93f7f8028cb910f99b5c3635050f6e88897 Mon Sep 17 00:00:00 2001
From: Travis CI
Date: Fri, 29 Dec 2017 11:43:36 +0000
Subject: [PATCH] Travis build: 492
---
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 09f3d8c7b..67ef26c52 100644
--- a/README.md
+++ b/README.md
@@ -4102,6 +4102,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 5e025847b..91fe1a5bb 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1824,6 +1824,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 b2d9ba2a7..0fe2586b7 100644
--- a/snippets/max.md
+++ b/snippets/max.md
@@ -8,6 +8,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
+
const max = (...arr) => Math.max(...[].concat(...arr);
```