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

Which languages? I'd think it's rare because I know no such standard function from the top of my head.
Swift immediately comes to mind - structs are value types. Also, Kotlin has data classes.
`util.deepStrictEqual` in Node at least