Re: (function foo(){}).propertyIsEnumerable(prototype): true or false?

2009-09-04 Thread Brendan Eich
On Sep 3, 2009, at 8:48 PM, Allen Wirfs-Brock wrote: ES3, 15.3.5.2, says the prototype property of function instances is enumerable. ES5, 13.2 step 17, says the prototype property of function instances is not enumerable. ES5, 15.3.5.2 also says non-enumerable so at least it is internally

RE: (function foo(){}).propertyIsEnumerable(prototype): true or false?

2009-09-04 Thread Allen Wirfs-Brock
Withington [mailto:p...@pobox.com] Sent: Friday, September 04, 2009 11:34 AM To: Brendan Eich Cc: Allen Wirfs-Brock; Mark S. Miller; es-discuss@mozilla.org Subject: Re: (function foo(){}).propertyIsEnumerable(prototype): true or false? On 2009-09-04, at 13:24, Brendan Eich wrote: I hope

(function foo(){}).propertyIsEnumerable(prototype): true or false?

2009-09-03 Thread Jeff Walden
ES3, 15.3.5.2, says the prototype property of function instances is enumerable. ES5, 13.2 step 17, says the prototype property of function instances is not enumerable. Was this change intentional, and if so, can someone point me to discussion of the change? I don't care one way or the other,

RE: (function foo(){}).propertyIsEnumerable(prototype): true or false?

2009-09-03 Thread Allen Wirfs-Brock
03, 2009 8:15 PM To: Mark S. Miller Cc: es-discuss@mozilla.org Subject: Re: (function foo(){}).propertyIsEnumerable(prototype): true or false? On 3.9.09 20:04 , Mark S. Miller wrote: I don't remember discussing this. But if we had, our general principle is that we first need to be compatible