From d34bd0c660868314d54a065bad2e9b5d706351ee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=A7a=C4=9Flar=20yurdakul?= <37529684+caglary@users.noreply.github.com> Date: Wed, 19 Jan 2022 00:54:28 +0300 Subject: [PATCH] Update 09_day_higher_order_functions.md console.log(arrAllStr) => console.log(areAllStr) ### every _every_: Check if all the elements are similar in one aspect. It returns boolean --- 09_Day_Higher_order_functions/09_day_higher_order_functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/09_Day_Higher_order_functions/09_day_higher_order_functions.md b/09_Day_Higher_order_functions/09_day_higher_order_functions.md index a37dffd..c668e1f 100644 --- a/09_Day_Higher_order_functions/09_day_higher_order_functions.md +++ b/09_Day_Higher_order_functions/09_day_higher_order_functions.md @@ -392,7 +392,7 @@ _every_: Check if all the elements are similar in one aspect. It returns boolean const names = ['Asabeneh', 'Mathias', 'Elias', 'Brook'] const areAllStr = names.every((name) => typeof name === 'string') // Are all strings? -console.log(arrAllStr) +console.log(areAllStr) ``` ```sh