DEV Community

Discussion on: JavaScript Quiz Question #3: Deep Object Mutability

Collapse
 
upieez profile image
Samuel Huang

I never knew that. I would have assumed that it would still be buttercup. So if the above example say the pet name wasn't nested, then what would be the answer?