https://people.mozilla.org/~jorendorff/es6-draft.html#sec-proxy-object-internal-methods-and-internal-slots-ownpropertykeys
 
<https://people.mozilla.org/~jorendorff/es6-draft.html#sec-proxy-object-internal-methods-and-internal-slots-ownpropertykeys>

The method `[[OwnPropertyKeys]] ( )` of proxy objects returns an actual `List` 
to JavaScript code. Does that make sense? I thought it was a 
specification(-only) type? How an instance is created is vague [1], which is 
appropriate for a data structure at the specification level, but not for one at 
the base level. `Array` seems like a better choice here. Or an iterator.

[1] 
https://people.mozilla.org/~jorendorff/es6-draft.html#sec-createlistfromarraylike

-- 
Dr. Axel Rauschmayer
[email protected]
rauschma.de



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

Reply via email to