Transcrypt icon indicating copy to clipboard operation
Transcrypt copied to clipboard

Object as map key

Open leogao2 opened this issue 4 years ago • 0 comments

Python supports objects in map key, but js doesn't. The js map will end up having the string "[object Object]" as key instead.

If implementing this has negative performance implications, then a pragma would be nice.

leogao2 avatar May 14 '20 23:05 leogao2