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.
|
|
|
## Method Man
|
|
|
|
|
|
|
|
### Instructions
|
|
|
|
|
|
|
|
Write 5 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 `*`
|
|
|
|
- Create a `capitalize` function that takes a string
|
|
|
|
and transforms it to upper case only for the first letter,
|
|
|
|
and in lowercase for the rest of the string
|
|
|
|
|
|
|
|
### Notions
|
|
|
|
|
|
|
|
- [nan-academy.github.io/js-training/examples/methods.js](https://nan-academy.github.io/js-training/examples/methods.js)
|