New Harmony built-in native objects APIs

Erik Arvidsson erik.arvidsson at gmail.com
Thu Aug 12 15:54:04 PDT 2010


On Thu, Aug 12, 2010 at 14:44, Brendan Eich <brendan at mozilla.com> wrote:
> On Aug 12, 2010, at 2:07 PM, Erik Arvidsson wrote:
>
>> It seems like ES5 does not define the [[Enumerable]], [[Configurable]]
>> nor [[Writable]] for the fields on Array.prototype and others like it.
>
> It does, by specifying default values in the intro to Clause 15, last paragraph:
>
> In every case, the length property of a built-in Function object described in this clause has the attributes { [[Writable]]: false, [[Enumerable]]: false, [[Configurable]]: false }. Every other property described in this clause has the attributes { [[Writable]]: true, [[Enumerable]]: false, [[Configurable]]: true } unless otherwise specified.

Great. Thanks for finding that part.

-- 
erik


More information about the es-discuss mailing list