re: How to Deep Clone an Array in JavaScript VIEW POST

TOP OF THREAD FULL DISCUSSION
re: pulling in an entire library for a single method can also be a kind of suboptimal (versioning, security auditing, vendoring vs. managed dependencie...
 

My point is to use an optimised method. Deep cloning arrays or objects may not be very common but if the need arises, I'd recommend using an exisiting solution.

code of conduct - report abuse