From 723cefaabbd31efdd2d861d7de21d47f21a5fbab Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 29 Dec 2017 12:57:56 +0000 Subject: [PATCH] Travis build: 562 --- 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 67d013d73..d5643b471 100644 --- a/README.md +++ b/README.md @@ -2617,6 +2617,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 f2cbb949c..cf89a0d90 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1260,6 +1260,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 4cf62dc65..1b2ea58c4 100644 --- a/snippets/max.md +++ b/snippets/max.md @@ -50,6 +50,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va + const max = (...arr) => Math.max(...[].concat(...arr);