diff --git a/snippets/max.md b/snippets/max.md index 7ba4ad2f1..9f6bde286 100644 --- a/snippets/max.md +++ b/snippets/max.md @@ -5,11 +5,6 @@ Returns the maximum value out of two or more numbers/arrays. Use `Math.max()` combined with the spread operator (`...`) to get the maximum value in the array. ```js - - - - - const max = (...arr) => Math.max(...[].concat(...arr); ```