🏋️♀️ Exercise - Read object and array
let x = { name: "kumaran", programming: ["Go", "JavaScript", "Dart"] };
console.log(x.programming[1]); //JavaScript
let person = {
name: "kumaran",
home: [
{ country: "ind", city: "dgl", type: "village" },
{ country: "ind", city: "che", type: "city" },
{ country: "dk", city: "bal", type: "city" },
],
language: ["Tamil", "English"],
height: 163,
fav: { color: "blue", programming: "go", movie: { name: "triangle", release: 2009 } },
};
console.log( ); // Tamil
console.log( ); // go
console.log( ); // 2009
console.log( ); // village
console.log( ); // 163