Read the instructions which are comments in the file: array-methods.js
, e.g.
/*
create an array with accounts from bankBalances that are
greater than 100000.00
assign the resulting array to `hundredThousandairs`
*/
var hundredThousandairs = null;
Fulfill the requirements using iterative Array methods.
bankBalances
holds a collection of data. At each position is an object with an amount
and state
property. Each of these objects represent a bank in a state. a State can have multiple banks which may be represented in the collection.
DO NOT MUTATE THE ORIGINAL DATA.
- Clone this repository and change your current working directory to this repository
- Install all dependencies by running the command:
npm install
- Your work will be done in the file named:
array-methods.js
- Run your tests with the command:
npm test
- Commit your code after each test passes.