When attempting to print the objects in the console window using the code below, I am receiving an "Undefined" error message. Any advice on how to resolve this issue?
var details = [
{
name:"Anita",
age:"20"
},{
name: "Helen",
age:"21"
}
];
console.log(details) //undefined
console.log(details) //undefined
console.table(details) //undefined