Just pointed out to ChatGPT that it's answer was incorrect and it responded with "I apologize for the confusion, you are correct that using the square bracket notation to access the object using a string variable will cause a compile error because TypeScript doesn't know (1/2)