4 ms·
I like the shallow copy, and never needed a deep copy. I am using JS for a few years tops, mostly React. To me its exactly what native languages do with pointe
by barrystaes 8y ago
I like the shallow copy, and never needed a deep copy. I am using JS for a few years tops, mostly React.
To me its exactly what native languages do with pointers. In some languages (like Delphi) its implicit (like JS) and some (like C) its explicit in syntax.