DEV Community

Discussion on: Be aware when cloning objects in JavaScript! 👯‍♀️

Collapse
 
dailydevtips1 profile image
Chris Bongers

Hey,

Yes you would expect by now the Object.assign would be a deepClone, OR that JavaScript by now would have a perfect DeepClone function build in!