From 978546b789549d69c99fc204f057cb2b7cbf890c Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 29 Dec 2017 12:35:44 +0000 Subject: [PATCH] Travis build: 545 --- 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 366a3cffe..2f131cd54 100644 --- a/README.md +++ b/README.md @@ -2604,6 +2604,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 d30ecfb77..332363464 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1247,6 +1247,7 @@ lcm([1, 3, 4], 5); // 60 + const max = (...arr) => Math.max(...[].concat(...arr); diff --git a/snippets/max.md b/snippets/max.md index 121b4956a..0f705109c 100644 --- a/snippets/max.md +++ b/snippets/max.md @@ -37,6 +37,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va + const max = (...arr) => Math.max(...[].concat(...arr);