7 ms·Oh you can, just implement toString and js will use it for hashingby temporarysdwvit 6y agoOh you can, just implement toString and js will use it for hashingIshKebab 6y agoNo it won't.yqot 6y agoMap, no. Plain object, yes.IshKebab 6y agoIt 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).