Hacker News new | ask | show | jobs
by yqot 2170 days ago
Map, no. Plain object, yes.
1 comments

It doesn't "use `toString` for hashing", it just converts the key to a string. That is not the same (e.g. you can't recover the original key).