From f2b943adbd2b5b25db678a6544bd3d312dc55789 Mon Sep 17 00:00:00 2001 From: davhojt Date: Sun, 15 May 2022 21:34:02 +0300 Subject: [PATCH] docs(long-words): correct grammar --- subjects/long-words/README.md | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) diff --git a/subjects/long-words/README.md b/subjects/long-words/README.md index 340b1d45..75077393 100644 --- a/subjects/long-words/README.md +++ b/subjects/long-words/README.md @@ -2,18 +2,15 @@ ### Instructions -Create three functions that take as argument an array each: +Create three functions, which each accept an array as an argument. -- `longWords` that returns true if every element of the array is a string of at - least 5 characters. +- `longWords`: returns `true` if every element of the array is a `string` with at least 5 characters. -- `oneLongWord` that returns true if at least one element of the array is a - string of at least 10 characters. +- `oneLongWord`: returns `true` if at least one element of the array is a `string` with 10 or more characters. -- `noLongWords` that returns true if there are no elements in the array that are - a string with at least 7 characters. +- `noLongWords`: returns `true` if there are no elements in the array which is a `string` with at least 7 characters. ### Notions -- [devdocs.io/javascript/global_objects/array/every](https://devdocs.io/javascript/global_objects/array/every) -- [devdocs.io/javascript/global_objects/array/some](https://devdocs.io/javascript/global_objects/array/some) +- [Array.prototype.every](https://devdocs.io/javascript/global_objects/array/every) +- [Array.prototype.some](https://devdocs.io/javascript/global_objects/array/some)