Draft of Function.prototype.bind.

David-Sarah Hopwood david.hopwood at industrial-designers.co.uk
Tue Nov 4 10:59:16 PST 2008


David-Sarah Hopwood wrote:
> Note that in the comments of bug 61911, Brendan used the argument that
> regexp objects were proposed to be callable in ES4, but that is presumably
> back up for discussion in Harmony. I would recommend against it: callable
> regexps were a SpiderMonkey extension never adopted by any non-Mozilla
> JavaScript implementation AFAIK,

I wasn't aware when I wrote this that JavaScriptCore supports them.
But in that regard, Maciej Stachowiak wrote:

# I'm also not specifically aware of a compatibility need for the callable
# regexp extension; it seems to be something we inherited when we forked
# from KJS/KHTML many years ago.

> and they introduce an irregularity in the language.

-- 
David-Sarah Hopwood



More information about the Es-discuss mailing list