Function.prototype.bind

Brendan Eich brendan at mozilla.com
Fri Apr 30 23:07:57 PDT 2010


On Apr 30, 2010, at 10:28 PM, Garrett Smith wrote:

>> It could be that we missed a chance to add Function.bind(callable,  
>> thisObj,
>> argsArray). Adding such a "static method" might have provided the  
>> desired
>> common utility usable without conflicts by libraries. We may yet  
>> add such a
>> Function.bind.
>
> Function.bind is already specified, isn't it? Function itself is a  
> function.

Oops, of course -- it would have to be called something else, or  
located somewhere else.

/be


More information about the es-discuss mailing list