Solving problems using array functions on rest countries data.
- Get all the countries from Asia continent /region using Filter function
- Get all the countries with a population of less than 2 lakhs using Filter function
- Print the following details name, capital, flag using forEach function
- Print the total population of countries using reduce function
- Print the country which uses US Dollars as currency.
Output: