const workers = [
{
id: 825927,
name: "Isla",
age: 31,
show_details() {
return(this.id + " " + this.name + " " + this.age);
}
},
{
id: 980272,
name: "Clarke",
age: 46
},
{
id: 763162,
name: "Teo",
age: 51
}
];
console.log(workers[0].show_details());
/*
run:
825927 Isla 31
*/