Inspired by Wes Bos' JavaScript30 lesson
Solve these problems using your expert JS knowledge! Your goal is to make all of the tests pass.
Try not to use any for
loops, only higher-order Array functions.
Below is the dummy data we are testing against if you need it for any reason.
[
'Faber Guerreau',
'Gilbertine Stichall',
'Cristina Cuckoo',
'Johnette Chatelot',
'Trish Mayou',
'Ruth Connell',
'Hamid Elsegood',
'Thorstein Woodward',
'Bethena Porte',
'Nelle Durek',
'Bastien Leyrroyd',
'Albie Tranfield',
'Bryce Temprell',
'Darya Chinery',
'Rea Matoshin',
'Tommie Benda',
'Lowell Trowel',
'Wayne Claughton',
'Teena Bansal',
'Basile Phonix',
]
We are using Jest for testing.
- Clone this repository
- Create your own empty repository on GitHub
- Open locally and change the remote:
$ git remote set-url https://github.com/USERNAME/REPOSITORY.git
- Install dependencies
$ npm install
- Run tests
$ npm test
- Brennan, CJ
- Dean, Ayana
- Cody, Adam
- Dandy, Andre, Roberto