3 ms·
deepClone is convenient, when you want to modify a field that's deep inside the object.
by petilon 4y ago
deepClone is convenient, when you want to modify a field that's deep inside the object.
- nicoburns 4y agoYou should only be cloning the modified object, not every single object in the array. That's what making things slow!
- paulddraper 4y agoYep mystery solved