DEV Community

Discussion on: What's wrong with this code?

Collapse
 
dance2die profile image
Sung M. Kim • Edited

Thanks Nick.

After reading your comment, I dug around and found this StackOverflow answer, which also explained using an example.

I wasn't aware that nested object could be modified even after being frozen.