On Jan 5, 2011, at 3:14 PM, Mark S. Miller wrote:

> In addition, if I read the spec right, the following code
> 
>     15.5.5.2
>     Object.getOwnPropertyDescriptor(Object("foo"), '1')
> 
> should return a descriptor claiming in effect that the (non-existent) '1' 
> property on the String object is writable but not configurable. Is this a 
> spec error? Is it already recorded as an errata? Cc'ing es5-discuss just in 
> case.
> 

I don't think so.  Step 9 of 15.5.5.2 says return the property descriptor { 
[[Value]]: "o", [[Enumerable]]: true, [[Writable]]: false, [[Configurable]]: 
false} for this case.  Where do you get that writable is true?

Allen
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to