- From: Cameron McCormack <cam@mcc.id.au>
- Date: Fri, 26 Aug 2011 16:36:26 +1200
- To: Jonas Sicking <jonas@sicking.cc>
- CC: public-script-coord@w3.org
On 26/08/11 8:21 AM, Jonas Sicking wrote: > My understanding is that this convention is not implementable in Javascript. Perhaps a minor point, but the part that is not implementable in pure JS is having document.all be callable while having it also be typeof "object". I haven't heard of any of the other collection objects that currently have callers in the spec being required to be typeof "object", so IF we were to decide that the pattern of callable objects in general was desirable (and I am not nearly convinced that it is) then we could define those ones to be Function objects, and leave document.all to be the odd one.
Received on Friday, 26 August 2011 04:37:04 UTC