Y
Hacker News
new
|
ask
|
show
|
jobs
by
untog
2717 days ago
One example is doing deep comparison on objects. ES6 still has no equivalent for that, and it's something you can do in one line in other languages.
2 comments
patates
2717 days ago
Which languages? I'd think it's rare because I know no such standard function from the top of my head.
link
untog
2717 days ago
Swift immediately comes to mind - structs are value types. Also, Kotlin has data classes.
link
julien_c
2717 days ago
`util.deepStrictEqual` in Node at least
link