Comment Comment by sesm > Can anyone describe a compelling use case for "deep cloning" objects in JavaScriptSure. A library accepts an object as function argument (for example ‘params’) and then uses it inside. Modifying users object in-place would be a bad idea. parent sesm 2 years ago
Sure. A library accepts an object as function argument (for example ‘params’) and then uses it inside. Modifying users object in-place would be a bad idea.