2011/7/1 David Bruant <[email protected]>

> Tom: about "...except that it also retains any non-standard attributes
> present in the original property descriptor passed to
> Object.defineProperty.", what do you mean by "any"?
> Is it Object.keys(desc)?
> Object.enumerate(desc) (I mean the prop list enumerated over with for-in)?
> Object.getOwnPropertyNames(desc)?
>

I meant any own properties of the argument, regardless of enumerability
(i.e. as determined by Object.getOwnPropertyNames). This is consistent with
the modifications to Object.defineProperty, step 4.b.
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to