swati-jagtap / javascript-practice

0 stars 0 forks source link

8.2.7--Use the countries object to print a country name, capital, populations and languages. #94

Open swati-jagtap opened 3 years ago

swati-jagtap commented 3 years ago

8.2.7--Use the countries object to print a country name, capital, populations and languages.

const countries={
  India:{
    capital:"Delhi",
    population:"135 crore",
    languages:["Marathi","Hindi","English"],
  }
}
console.log(countries)

output

image