Open assafey opened 5 years ago
Could use hasOwnProperty to tell if a field from Object is being overwritten on the clonee.
@rictic not sure I’m following you. Is it a workaround?
Bump on this, this issue is hanging me up on the development of my programming language.
Cloning an object that includes field 'toString' will have the following affect: before clone:
after clone:
'toString' field is removed from cloned object.