Re: Fetch API

On Wed, Jun 4, 2014 at 9:49 AM, Jonas Sicking <jonas@sicking.cc> wrote:
> On Wed, Jun 4, 2014 at 12:31 AM, Anne van Kesteren <annevk@annevk.nl> wrote:
>> Does ES define the order of { "x": "a", "y": "b" } btw?
>
> I believe so, but someone would need to check. Either way I think
> browsers effectively are forced to return a consistent order for
> web-compat reasons.

I checked. It's not true, see
http://esdiscuss.org/topic/for-in-evaluation-order#content-10 See
http://people.mozilla.org/~jorendorff/es6-draft.html#sec-ordinary-object-internal-methods-and-internal-slots-enumerate
for the specification. It seems in particular implementations will
differ on numeric "keys", potentially other bits.


-- 
http://annevankesteren.nl/

Received on Wednesday, 4 June 2014 09:47:24 UTC