From 0520c8b86659b95b62328f50263e67df4081a253 Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Fri, 29 Dec 2017 15:11:27 +0200 Subject: [PATCH] Fix max snippet --- snippets/max.md | 5 ----- 1 file changed, 5 deletions(-) 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); ```