From: Marcos Caceres <w3c@marcosc.com>

Date: Tue, 26 Feb 2013 10:34:17 +0000

To: "public-script-coord@w3.org" <public-script-coord@w3.org>

Cc: Jorge Chamorro <jorge@jorgechamorro.com>, Domenic Denicola <domenic@domenicdenicola.com>, Brian Kardell <bkardell@gmail.com>, Hill, Clint <clint.hill@goaaa.com>

Message-ID: <5E4B79D88F254BA8AA57274A6BBF4E27@marcosc.com>

Date: Tue, 26 Feb 2013 10:34:17 +0000

To: "public-script-coord@w3.org" <public-script-coord@w3.org>

Cc: Jorge Chamorro <jorge@jorgechamorro.com>, Domenic Denicola <domenic@domenicdenicola.com>, Brian Kardell <bkardell@gmail.com>, Hill, Clint <clint.hill@goaaa.com>

Message-ID: <5E4B79D88F254BA8AA57274A6BBF4E27@marcosc.com>

On Tuesday, 26 February 2013 at 10:13, François REMY wrote: > > Safari, firefox, chrome: > > > > (a=[], function() { for (var i=0 ; i<10 ; i++) { a[0]=i; console.log(a); } })() > > [9] > > [9] > > [9] > > [9] > > [9] > > [9] > > [9] > > [9] > > [9] > > [9] > > Chrome gives me the same as the sequence below (not the one above?). And so does Firebug - but Firefox's web console does indeed give the above. > > > > node, opera dragonfly: > I heard Opera dragonfly is discontinued (they will use Chromium's dev tools, I hear). If so, Chromium gives me the sequence below. > > > (a=[], function() { for (var i=0 ; i<10 ; i++) { a[0]=i; console.log(a); } })() > > > > > > [ 0 ] > > [ 1 ] > > [ 2 ] > > [ 3 ] > > [ 4 ] > > [ 5 ] > > [ 6 ] > > [ 7 ] > > [ 8 ] > > [ 9 ] > > > > FWIW, I just tested in IE10 which outputs > 0 > 1 > 2 > 3 > 4 > 5 > 6 > 7 > 8 > 9 > > (IE console is still text-only at this time, so it does a.toString() at call time) So, that means from my own testing that only Safari and Firefox differ. I'm on a Mac, running latest stable versions.Received on Tuesday, 26 February 2013 10:34:49 UTC

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