On 26/08/07, Garrett Smith <[EMAIL PROTECTED]> wrote:
> Missing:
> Function.prototype.caller

Should this property really be on the prototype? Even placing it on
the Function instances alone seems a bad idea to me, since the value
is per call and not per function object. But placing it on the
Function prototype seems an even worse idea. It should really be a
property on the function object only for compatibility reasons in
engines which have to use it (and even then only exist while the
function is executing).

> Function.prototype.name ?

Makes more sense - the Function prototype is a function per ES3, so if
function instances should have a name property, then the Function
property should probably have it as well. IIRC ES3 doesn't specify it,
but it's in the browser hosted engines.
-- 
David "liorean" Andersson
_______________________________________________
Es4-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es4-discuss

Reply via email to