I\'m trying to write a code that receives a string variable and gets the property with that name, but I attempted using object destructuring like so: