This exercise is meant to help you indentify any potential weak spots in your knowledge on array methods. Use your knowledge of find
filter
and map
to implement functions according to the specifications and make the tests pass.
- Open your terminal and
cd
to your workspace directory - Clone this project
- Once the project is cloned,
cd Arrays-Exercise
- From the root of the project, run
npm install
- Take a look at the data in
src/data/classroom.js
to get familiar with thestudents
andinstructors
arrays - Implement the functions that are specified in
src/filterExercises.js
src/findExercises.js
andsrc/mapExercises.js
- To test your functions, run
npm test
from the root of the project - Every test that you get to pass, make a commit and push it to github
NOTE: These exercises are meant to assess your knowledge of
map
,filter
, andfind
. Many of the tests will not pass if you don't use the correct method, so please avoid usingfor
loops