Destructuring object from a nested object
const person = {
    name: 'labib',
    age: 22,
    job: 'web-developer',
    frieds: ['ahsik', 'abir', 'alvi', 'hanafi'],
    childList: {
        firstChild: 'Salman',
        secondChild: 'Rafi',
        thirdChild: 'Anfi'
    }
}
//simple destructuring
const { name, age, job } = person;
console.log(name, age, job);
//Expected output: labib 22 web-developer