W3C home > Mailing lists > Public > public-script-coord@w3.org > April to June 2013

Re: APIs that overload numbers and strings

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 15 Apr 2013 11:06:55 -0400
Message-ID: <516C178F.3010504@mit.edu>
To: Jonas Sicking <jonas@sicking.cc>
CC: "public-script-coord@w3.org" <public-script-coord@w3.org>, Ehsan Akhgari <ehsan.akhgari@gmail.com>
On 4/14/13 6:50 PM, Jonas Sicking wrote:
> Note that if we in indexedDB treated all numbers as strings, that
> would mean that 8 would sort between 70 and 90.

There are various things in ES that already check for "numeric" strings, 
so this would actually be solvable...

-Boris
Received on Monday, 15 April 2013 15:07:29 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 17:14:12 UTC