From 1f15f00565e1d4c7a13f77aba9535be783f45267 Mon Sep 17 00:00:00 2001
From: Travis CI
Date: Fri, 29 Dec 2017 12:09:05 +0000
Subject: [PATCH] Travis build: 521
---
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 4f27fb819..81fee88ae 100644
--- a/README.md
+++ b/README.md
@@ -4119,6 +4119,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 b3b2a86e2..62404703b 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1841,6 +1841,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 0d7163a9d..4de7673f6 100644
--- a/snippets/max.md
+++ b/snippets/max.md
@@ -24,6 +24,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
+
const max = (...arr) => Math.max(...[].concat(...arr);
```