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.
-
Clone this repo
-
Create your own repo on Github and name it
Array Exercises
-
Set your local repo to point at your Github project
git remote set-url origin YOUR_GITHUB_URL_HERE
-
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