Skip to content

devleague/fun-arrays

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fun Arrays

Functional Array method exercise

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.

THE DATA dataset.json

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.

Caveats

DO NOT MUTATE THE ORIGINAL DATA.

Getting Started

  1. Clone this repository and change your current working directory to this repository
  2. Install all dependencies by running the command: npm install
  3. Your work will be done in the file named: array-methods.js
  4. Run your tests with the command: npm test
  5. Commit your code after each test passes.

References

Making Arrays More Functional

About

Functional Array method exercise

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published