From f7e85989bd5186d6e72a3313e49b3e86ad6fac46 Mon Sep 17 00:00:00 2001
From: Travis CI
Date: Fri, 29 Dec 2017 11:57:20 +0000
Subject: [PATCH] Travis build: 512
---
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 ff5e6a15e..74dd56a69 100644
--- a/README.md
+++ b/README.md
@@ -4112,6 +4112,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 5bf64d564..619807248 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1833,6 +1833,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 d903bff80..788a5d7d9 100644
--- a/snippets/max.md
+++ b/snippets/max.md
@@ -17,6 +17,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
+
const max = (...arr) => Math.max(...[].concat(...arr);
```