js-mentorship-razvan / javascript

Javascript study notes
GNU General Public License v3.0
22 stars 2 forks source link

Solution #613

Open DobroTora opened 2 years ago

DobroTora commented 2 years ago

function gooseFilter (birds) { var geese = ["African", "Roman Tufted", "Toulouse", "Pilgrim", "Steinbacher"];

// return an array containing all of the strings in the input array except those that match strings in geese var filtered = birds.filter(item => !geese.includes(item))

return filtered;

};