[whatwg] Adding ECMAScript 5 array extras to HTMLCollection
Garrett Smith
dhtmlkitchen at gmail.com
Mon Aug 2 17:28:54 PDT 2010
On 8/2/10, Garrett Smith <dhtmlkitchen at gmail.com> wrote:
> On 8/2/10, And Clover <and-py at doxdesk.com> wrote:
>> On 08/02/2010 09:57 PM, Garrett Smith wrote:
>>
[...]
> ({}).hasOwnProperty.call(document.links, "0");
>
> - and resulting true in IE.
>
> However, that hasOwnProperty check does not always true for
...does not always result `true for...
> collections. As seen in the previous example I posted, for property P,
> [[HasProperty]] resulted false when there is a property P. Once again,
> this time with hasOwnProperty, I see a result in Firefox 3.6: [false,
> object]
>
That was not clear, I meant that [[HasProperty]] resulted false and
[[Get]], via property accessors. resulted in the element being
retrieved.
Garrett
More information about the whatwg
mailing list