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.

16 lines
422 B

4 years ago
## Method Man
### Instructions
Write 4 functions:
- `words` that takes a string
and split it into an array of strings on spaces
- `sentence` that takes an array of strings and join them with spaces
- `yell` that take a string and return it in upper case
- `whisper` that take a string and return it in lower case
and surround it with `*`
### Notions
- https://nan-academy.github.io/js-training/examples/methods.js