Subclassing Function

Jason Orendorff jason.orendorff at gmail.com
Fri May 8 17:46:20 UTC 2015


On Thu, May 7, 2015 at 3:25 PM, Allen Wirfs-Brock <allen at wirfs-brock.com> wrote:
> On May 7, 2015, at 12:50 PM, Francisco Tolmasky wrote:
>> In the existing implementations I’ve tried, it appears I can’t do this:
>>
>> class SuperFunction extends Function { }
>
> Nope, it's supposed to work.

Agreed. We're working on it in Firefox. It's of a piece with
new.target support, so my best guess is it'll be weeks, maybe a couple
months, before it lands in Nightly.

-j


More information about the es-discuss mailing list