Ye olde arguments argument (was: Topic list - pending changes and issues for the ES3.1 spec)
Mark S. Miller
erights at google.com
Mon Sep 15 14:04:02 PDT 2008
On Mon, Sep 15, 2008 at 1:40 PM, Mike Shaver <mike.shaver at gmail.com> wrote:
> The important thing here seems to be decoupling "called function
> capture" from "arguments to this function", since people are meaning
> to do the latter and inadvertently doing the former.
That's a good characterization. Fortunately, in any ES3 compliant
implementation of ES3, nothing more is needed to provide the former.
Just name your function. By itself, this is as convenient -- as well
as more understandable -- as any of the "conveniences" that have been
proposed to help with this non-problem.
More information about the Es-discuss