Re: [w3c/IndexedDB] Track ES BigInt work (#230)

Wow, thanks for the extremely fast turnaround for a technical review from the editors! Impressive.

> Make BigInts all come after any Number in sort order, and before other types which follow Number.

Not sure how unambiguous this sentence is; I was imagining that BigInt would compare as less than Number. (Seems like there's nothing less than Number, so not sure what I meant by the second part.) However, I saw a note in the specification that made this sound like a bad idea:

> As a result of the above rules, negative infinity is the lowest possible value for a key. 

Seems like it might be good to preserve this property, in case someone is depending on it, and instead have all BigInts compare as greater than all Numbers.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/w3c/IndexedDB/issues/230#issuecomment-366572767

Received on Monday, 19 February 2018 02:13:59 UTC