You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For people coming to the thread only now, the issue has been resolved and the algorithm of the spec is indeed correct. The question was about
obj["0"] vs obj[0]
(officially, property names are always strings in ES5 so the WebIDL spec converts integers to strings; actually we should not do that because browser do not really use string indexes on array, but this only got standardized in ES6).
yeah, I didn't know that [x] becomes [String(x)] internally. Things one learns :) I also learned not to file bugs until AFTER I have actually implemented and tested.
I've got this implemented (it's in the currently in the Array type branch). However, as we don't have all the types yet, it's not possible to fully test. Regardless, the base functionality is going.
http://www.w3.org/TR/WebIDL/#idl-sequence
The text was updated successfully, but these errors were encountered: