diff --git a/README.md b/README.md
index 67ef26c52..bcd856bbd 100644
--- a/README.md
+++ b/README.md
@@ -4103,6 +4103,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 91fe1a5bb..bfe5b59d5 100644
--- a/docs/index.html
+++ b/docs/index.html
@@ -1825,6 +1825,7 @@ Use Number() to check if the coercion holds.
max([10, 1, 5]); // 10
diff --git a/snippets/max.md b/snippets/max.md
index 0fe2586b7..7ba4ad2f1 100644
--- a/snippets/max.md
+++ b/snippets/max.md
@@ -9,6 +9,7 @@ Use `Math.max()` combined with the spread operator (`...`) to get the maximum va
+
const max = (...arr) => Math.max(...[].concat(...arr);
```