[[Enumerate]] and enumerate and keys trap

Tom Van Cutsem tomvc.be at gmail.com
Mon Oct 8 12:28:34 PDT 2012


2012/10/8 Allen Wirfs-Brock <allen at wirfs-brock.com>

>
> Internal abstraction operations (helper functions) are just editorial
> devices that reduce the need to duplicate (and perhaps introducing errors)
> specification steps.   If it makes sense I'll use one in specifying these
> traps, but it doesn't make a normative difference to the specification.
>

I understand. That's why I think it's perfectly OK to use helpers such as
GetPropertyKeys internally, but to not expose them via the Proxy API. With
my above suggestion, we get a clean spec/trap interface and at the same
time less redundancy in the spec.

Cheers,
Tom
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121008/8af55e55/attachment.html>


More information about the es-discuss mailing list