diff --git a/README.md b/README.md index 905f97f64..032e61129 100644 --- a/README.md +++ b/README.md @@ -2576,6 +2576,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 dea19e0e9..b4168e8cf 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1219,6 +1219,7 @@ lcm([1, 3, 4], 5); // 60

 
 
+
 const max = (...arr) => Math.max(...[].concat(...arr);
 
max([10, 1, 5]); // 10
diff --git a/snippets/max.md b/snippets/max.md
index b2d9ba2a7..0fe2586b7 100644
--- a/snippets/max.md
+++ b/snippets/max.md
@@ -8,6 +8,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
 
 
 
+
 const max = (...arr) => Math.max(...[].concat(...arr);
 ```