Syntax improvement suggestion/recommendation for javascript exercises Amusement park

When calling a child in an object usually the dot (.) notation is used. But when the children name is a string the square brackets () is used with the object child’s name in string format. But for the exercise it’s not mentioned and instead uses the dot notation. It causes errors when used without the square brackets when passed down a function arguments and we just refer it to its variable name. Thanks in advance :slight_smile:

Exercise link: Amusement Park in JavaScript on Exercism

const obj= {
    name: "Deepesh SG",
    "relationship status" : "forever single"
}

console.log(obj.name)
console.log(obj["relationship status"])