Skip to content

nc-niamh-smith/array-methods-practice

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Array Methods Practice

The tests have already been written for you. Look at the inputs in each test to get an idea of what the array looks like for each function


.filter Challenges

belowTen

returns an array containing all the numbers below 10, from the array passed in

isAttending

returns an array containing all the people objects of people who have confirmed their attendance, from the array passed in

hasMultipleCats

returns an array of all the people objects who have more than one cat


.map Challenges

multiplyByTwo

should return an array with all the numbers multiplied by two, from the input array

makeGuestList

should return an array of the names of people from the objects in the array

cancelMemberships

should change the status to 'cancelled' for the members array

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%