From 1d5502681a83135d526de9cd83335fddf6e43b4e Mon Sep 17 00:00:00 2001 From: Travis CI Date: Fri, 29 Dec 2017 12:56:33 +0000 Subject: [PATCH] Travis build: 560 --- 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 ab9dd9119..67d013d73 100644 --- a/README.md +++ b/README.md @@ -2616,6 +2616,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 e9eba81a5..f2cbb949c 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1259,6 +1259,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 4a9c598e7..4cf62dc65 100644 --- a/snippets/max.md +++ b/snippets/max.md @@ -49,6 +49,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va + const max = (...arr) => Math.max(...[].concat(...arr);