From c44c516941d5aa33cb89c984754b0d57f9c11eb9 Mon Sep 17 00:00:00 2001 From: adrianprzybyla Date: Wed, 15 Apr 2020 21:02:08 +0200 Subject: [PATCH] Find max number in array --- README.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.md b/README.md index 63a293b..90f1905 100644 --- a/README.md +++ b/README.md @@ -79,6 +79,11 @@ console.log( Boolean(mySecondVar) ) // true console.log( !!mySecondVar ) // true ``` +# Find max number in array +```javascript +Math.max.apply(null, [1,2,10,3]) // 10 +``` + # How to repeat a string ```javascript