From 3e72030521e5a52d7a8b1ace6ba2cedd29cf65ef Mon Sep 17 00:00:00 2001 From: Lavrentiy Rubtsov Date: Mon, 20 Jun 2022 23:46:24 +0600 Subject: [PATCH] =?UTF-8?q?=F0=9F=91=BE=20some=20change=20to=20summary=20s?= =?UTF-8?q?ection?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 1-js/05-data-types/05-array-methods/article.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/1-js/05-data-types/05-array-methods/article.md b/1-js/05-data-types/05-array-methods/article.md index 5d114e5c..c30f1796 100644 --- a/1-js/05-data-types/05-array-methods/article.md +++ b/1-js/05-data-types/05-array-methods/article.md @@ -767,7 +767,7 @@ A cheat sheet of array methods: - `reduce/reduceRight(func, initial)` -- calculate a single value over the array by calling `func` for each element and passing an intermediate result between the calls. - Additionally: - - `Array.isArray(arr)` checks `arr` for being an array. + - `Array.isArray(value)` checks `value` for being an array, if so return true, otherwise false. Please note that methods `sort`, `reverse` and `splice` modify the array itself.