Re: typeof document.all

On Oct 13, 2009, at 5:30 PM, Ian Hickson wrote:

>> (3b) specify document.all as an ES-Harmony value type, details TBD  
>> but
>> this allows overloading operators including ! and == but not === (at
>> least not in the discussions we've had yet), and overloading  
>> ToBoolean.
>
> Sounds good to me. Is this basically equivalent to what HTML5 says  
> today?
>
>   http://www.whatwg.org/specs/web-apps/current-work/multipage/obsolete.html#dom-document-all

Not yet. We haven't talked about value types overloading typeof.

/be

Received on Wednesday, 14 October 2009 00:31:34 UTC