On Thu, Sep 25, 2014 at 6:56 PM, Boris Zbarsky <bzbar...@mit.edu> wrote:
> SpiderMonkey used to support __noSuchMethod__, I believe.

It's still there.

js> var anObject = { __noSuchMethod__() { return "what"; } };
js> anObject.saysWhat();
"what"

We did tweak the semantics last year (a minor improvement, I think):
  https://bugzilla.mozilla.org/show_bug.cgi?id=916949

-j
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to