method modifiers in addition to "bind"

Peter Seliger peter.seliger at googlemail.com
Wed Feb 15 16:05:36 PST 2012


Since »Function.prototype.bind« did make it into ECMAScript's 5th Edition,
how about having implemented prototypal method modifiers »before«, »after«
and »around« into next Versions of JavaScript?

And in particular for »around«, what should the arguments precedence of
the around wrapping function look like?

Peter
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120216/36e8cd3e/attachment.html>


More information about the es-discuss mailing list