From 16cba8a454c2262953734d7637dac30057dbee7c Mon Sep 17 00:00:00 2001 From: Angelos Chalaris Date: Thu, 21 Dec 2017 17:27:07 +0200 Subject: [PATCH] Update arrayLcm.md Fixed second example as @iamsoorena suggested --- snippets/arrayLcm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/snippets/arrayLcm.md b/snippets/arrayLcm.md index 60a2c94d8..5439d5924 100644 --- a/snippets/arrayLcm.md +++ b/snippets/arrayLcm.md @@ -11,5 +11,5 @@ const arrayLcm = arr =>{ return arr.reduce((a,b) => lcm(a,b)); } // arrayLcm([1,2,3,4,5]) -> 60 -// arrayLcm([4,8,12]) -> 12 -``` \ No newline at end of file +// arrayLcm([4,8,12]) -> 24 +```