On Fri, Sep 26, 2014 at 5:01 PM, Jason Orendorff
<[email protected]> wrote:
> On Thu, Sep 25, 2014 at 6:56 PM, Boris Zbarsky <[email protected]> wrote:
>> SpiderMonkey used to support __noSuchMethod__, I believe.
>
> It's still there.
>
> js> var anObject = { __noSuchMethod__() { return "what"; } };
> js> anObject.saysWhat();
> "what"

https://bugzilla.mozilla.org/show_bug.cgi?id=683218 is the bug on
getting it removed, in case anyone is interested.


-- 
https://annevankesteren.nl/
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to