Filtering through an Array of Countries using .filter()

InstructorLindsey Kopacz

Share this video with your friends

Send Tweet

We are going to use the the .filter() method on an array of countries so that we only return the country that matches a particular country code. This could be useful if you are in multinational organization and you want to return data only from that country's page.