mirror of https://github.com/01-edu/public.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
658 B
20 lines
658 B
5 years ago
|
## Long Words
|
||
|
|
||
|
### Instructions
|
||
|
|
||
|
Create three functions that take as argument an array each:
|
||
|
|
||
|
- `longWords` that returns true if every element of the array is a string of at
|
||
|
least 5 characters.
|
||
|
|
||
|
- `oneLongWord` that returns true if at least one element of the array is a
|
||
|
string of at least 10 characters.
|
||
|
|
||
|
- `noLongWords` that returns true if there are no elements in the array that are
|
||
|
a string with at least 7 characters.
|
||
|
|
||
|
### Notions
|
||
|
|
||
4 years ago
|
- [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)
|