Draft of Function.prototype.bind.

David-Sarah Hopwood david.hopwood at industrial-designers.co.uk
Mon Nov 3 20:01:35 PST 2008

Brendan Eich wrote:
> On Nov 3, 2008, at 6:50 PM, David-Sarah Hopwood wrote:
>> That is, native objects that implement [[Call]] must be functions.
> No, see 16, second list, second bullet:
> "An implementation may provide additional types, values, objects,
> properties, and functions beyond those described in this specification.
> This may cause constructs (such as looking up a variable in the global
> scope) to have implementation-defined behaviour instead of throwing an
> error (such as ReferenceError)."

So what does "Objects that implement this internal method are called
functions." in the description of [[Call]] mean, then? If it is not
true for native objects (which is what the section claims to be describing),
then it is simply incorrect.

David-Sarah Hopwood

More information about the Es-discuss mailing list