3 ms·
No way to avoid it, I think. Javascript calls Object.toString() to determinate the key. But yes, kind of silly... See http://news.ycombinator.com/item?id=60200
by palsecam 17y ago
No way to avoid it, I think. Javascript calls Object.toString() to determinate the key. But yes, kind of silly...
See http://news.ycombinator.com/item?id=602004 http://news.ycombinator.com/item?id=602004
Actually there may be a way to avoid it: redefine the toString() method of the String prototype or something like that (just an idea in the wild, haven't tried it)...