Draft of Function.prototype.bind.

Brendan Eich brendan at mozilla.com
Mon Nov 3 19:08:34 PST 2008


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)."

See also 11.4.3 The typeof Operator (second to last table row).

/be



More information about the Es-discuss mailing list