const person = {
name: 'Arif',
age: 22,
job: 'we-developer',
friendList: ['abir', 'adnan', 'alvi'],
companyDetails: {
id: 3343,
companyName: 'IT solution',
salary: 33400,
location: 'jahanbarge',
}
}
const [x, y, z] = person.friendList;
console.log(x, y, z);
//Expected output:abir adnan alvi