Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
frwhlr
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
frwhlr
9y ago
I think spamming mutable objects around in your codebase is asking for trouble. I'd be really happy to be able to do something like this: foo( Object.copy(barObj) ); I mean, why would you send your state's mutable object a
2.
▲
by
frwhlr
9y ago
I think it is almost unbelievable that the ESxx train continues to expand the language with ever more features, while at the same time there is still no native method to deep-copy an object.. Almost everything in JS is an object, but there
3.
▲
by
frwhlr
9y ago
It's an ad!