Map, reduce and filter are all array methods that perform transofrmation or computations. Check out this tweet explaining their implementation with emojis.
slice, splice, find, includes, indexOf, pop, push, reverse, shift, unshift
- Clone the Repository to your computer.
- Run
git remote remove origin
to disconnect from the class repo. Also, runnpm install
to install any necessary packages included inpackage.json
. - Go to GitHub and create a new repository for your code (do not initialize with a README). Follow the instructions to add a new remote called 'origin' to your new repository.
- Navigate to each of the two Challenge files -
challenges1.js
andchallenges2.js
- and follow the instructions before each practice activity. - The data from the People dataset and Instruments dataset -
people.js
andinstruments
- is stored as an array of objects. Each object in the array has the same fields with different values.
- From the root directory, run all the challenges with:
npm test
- To run a specific challenge file
For challenge 1:
npm run challenge1
For challenge 2:
npm run challenge2