2 ms·
I think it's not the best idea to keeping the shapes of objects in your head and manually cloning/merging them. This will lead to bugs, as inadvertently as a h
by lxe 8y ago
I think it's not the best idea to keeping the shapes of objects in your head and manually cloning/merging them.
This will lead to bugs, as inadvertently as a human you'll miss a merge or a clone and retain references that you don't want.
Inability of a language or runtime to correctly and quickly clone a structure is an upsetting fact of JavaScript.