Hacker News new | ask | show | jobs
by IshKebab 2170 days ago
No it won't.
1 comments

Map, no. Plain object, yes.
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).