Log Person Details
Create a function that takes an object as a parameter, which contains a nested object, and destructures the nested object in the function body to log its values to the console.
const person = { name: 'John', age: 30, address: { street: '123 Main St', city: 'New York' } }, the function logPersonDetails(person) would destructure the address property in the function body and log 123 Main St and New York to the console.