[Webkit-unassigned] [Bug 179001] [ESNext] Implement support for BigInt

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Nov 28 12:46:34 PST 2020


https://bugs.webkit.org/show_bug.cgi?id=179001

John Leidegren <john at leidegren.se> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |john at leidegren.se

--- Comment #2 from John Leidegren <john at leidegren.se> ---
I would like to add to this that BigInts don't appear to work as keys in ES Collections. I just took Safari 14 for a spin and ran into the most bizzare bugs where I could insert multiple entries with the same bigint keys in a Map.

For example:

const m = new Map()
m.set(1n, 123)
m.set(1n, 456)

console.log(m)
Map {1n => 123, 1n => 456}

get(1n)
undefined

etc.

Not sure what's up but it is broken.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20201128/8a7e19e8/attachment.htm>


More information about the webkit-unassigned mailing list