Object.assign() clone still linked

后端 未结 0 1690
悲哀的现实
悲哀的现实 2020-12-05 04:32

Why does the code below create and infinitely deep object? I\'m assuming its something with const and scope. How can I prevent this?

相关标签:
回答
  • 消灭零回复
提交回复
热议问题