Hi,
I’m trying to get my HandsOnTable’s settings with the getSettings
method.
And that’s working.
What I need is to update this object (returned by the method) before sending it to my server.
But if I update the object, It will update my GUI (because it’s a reference). That’s not what I need.
So I duplicated the object with {...myObj}
.
But I don’t know why, the duplicated object is empty
Can you please tell me why ? (JSFiddle)
Have a nice day,
HeyHeyChicken