Re:Deep Cloning Objects in JavaScript, the Modern Way
by Gare on Friday December 22, 2023 @05:26AM
(#38732852)
When the caller passes you a deep structure and you want to ensure they don't mutate it afterwards. But I agree, it's seldom needed in application code.
[ Parent
| on HN ]
There are no comments on this comment yet.