I tried to print the objects in console window as the following but I am not getting the object instead it is saying "Undefined". Any suggestions?
var details = [
{
name:"Anita",
age:"20"
},{
name: "Helen",
age:"21"
}
];
console.log(details) //undefined
console.log(details) //undefined
console.table(details) //undefined