Laurens Holst schreef:
Brendan Eich schreef:
http://wiki.ecmascript.org/doku.php?id=strawman:name_property_of_functions
I did not reproduce all the details from the thread, but I tried to
capture the essential points. Please point out omissions and errors.
Thanks,
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
more extensible.
~Laurens
--
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
begin:vcard
fn:Laurens Holst
n:Holst;Laurens
email;internet:[email protected]
version:2.1
end:vcard
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss