Minor type confusion in proxies proposal?

Tom Van Cutsem tomvc.be at gmail.com
Sat Jul 2 04:53:36 PDT 2011

2011/7/1 David Bruant <david.bruant at labri.fr>

> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110702/ff9cb8ab/attachment.html>

More information about the es-discuss mailing list