Ian Hickson wrote:
On Tue, 28 Apr 2009, John J. Barton wrote:
  
I could not figure out from the WebIDL what happens in this case:
   sessionStore[2] = "howdy"; // no other keys in sessionStore

I guess this does not work like _javascript_ arrays or objects, rather I 
expect it fails?
    

It works, it just sets the key "2" to the value "howdy".
  
And then afterwards the |length| is ? one? three?
If I iterate
  for(var i = 0; i < sesssionStore.length; i++) foo(i, sessionStore[i]);
what can I expect in foo()?
     (0, null), (1, null), (2, "2")
or
      (0, "2")?
or ?

Thanks,
jjb

Reply via email to