I Destructuring first variable nested objects within parent then I declare another variable to set a child value but there some error I don't know which sufficient way to solve this and readable
let personObj = {
Name: 'Robiul',
Age: 22,
Address: {
city: 'Dhaka',
country: 'Bangladesh'
}
}
let {Address: myAddress} = personObj
let {myAddress:{city: myCity, country: myCountry}}=myAddress