"Pretty" function expression names
laurens.nospam at grauw.nl
Sun May 10 14:25:53 PDT 2009
Laurens Holst schreef:
> Brendan Eich schreef:
>> I did not reproduce all the details from the thread, but I tried to
>> capture the essential points. Please point out omissions and errors.
> What I’m missing about Function.name is that you can only specify it
> using function literals (at least, currently in Firefox I think that
> is the case). It would be nice if you could also either set this with
> either the Function constructor, or after the object has been created.
Ah, I see this part is already covered by Maciej’s Function.create
semi-constructor proposal. In that case, should make sure this
Function.create also supports passing closures so that we won’t need a
Function.create2 :). Maybe make the params parameter list an array so
that create is less dependant on the length of the arguments passed and
Note: New email address! Please update your address book.
~~ Ushiko-san! Kimi wa doushite, Ushiko-san nan da!! ~~
Laurens Holst, student, Utrecht University, the Netherlands
Website: www.grauw.nl. Backbase employee; www.backbase.com
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 111 bytes
Desc: not available
More information about the es-discuss