/Array-Exercises

NSS Array Exercises

Primary LanguageJavaScript

JS

Self Assessment: Array Methods

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.

Getting Started

  1. Clone this repo

  2. Create your own repo on Github and name it Array Exercises

  3. Set your local repo to point at your Github project

    git remote set-url origin YOUR_GITHUB_URL_HERE
  4. From the root of the project, run

    npm install
    
  5. Take a look at the data in src/data/classroom.js to get familiar with the students and instructors arrays

  6. Implement the functions that are specified in src/filterExercises.js src/findExercises.js and src/mapExercises.js

  7. To test your functions, run npm test from the root of the project

  8. 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, and find. Many of the tests will not pass if you don't use the correct method, so please avoid using for loops