2 ms·JS has built-in syntax to do just that. It's in fact much less painful than making a deep copy.by _hl_ 4y agoJS has built-in syntax to do just that. It's in fact much less painful than making a deep copy.