public/subjects/long-words
davhojt f2b943adbd docs(long-words): correct grammar 2022-06-15 23:34:59 +03:00
..
README.md docs(long-words): correct grammar 2022-06-15 23:34:59 +03:00

README.md

Long Words

Instructions

Create three functions, which each accept an array as an argument.

  • longWords: returns true if every element of the array is a string with at least 5 characters.

  • oneLongWord: returns true if at least one element of the array is a string with 10 or more characters.

  • noLongWords: returns true if there are no elements in the array which is a string with at least 7 characters.

Notions