8
pjheden
8y

When you want to make an unlinked copy:

JSON.parse(JSON.stringify(obj))

Holy mother Jesus, so many hours before I realised this. Really js!? Really...

Comments
Add Comment