On Sat, May 1, 2010 at 6:25 PM, Brendan Eich <[email protected]> wrote: > W.r.t enumerate, a proxy could return a proxy for an array.
Would be satisfactory if the reification re-checked the length on each iteration. > Additionally, enumerate should be modified as soon as there is a solid > proposal for generators/iterators. Yeah, I caught that in the preso. Sounds good to me. > Dave Herman and I have a generators/iterators proposal coming along -- > should be up some time next week on the wiki. Excellent. > Not to worry, traps are accessed as handler properties, not "own", just "in" > (so possibly in a prototype). See > http://wiki.ecmascript.org/doku.php?id=harmony:proxies_semantics. Example: Excellent. > Mozilla's implementation (see > https://bugzilla.mozilla.org/show_bug.cgi?id=546590) already includes a > no-op handler. We envision others that can be reused and delegated to via > prototypes. I see, in the unit test, makeNoopHandler. My suggestion was that this should be exposed as part of the API as a base type, but on further reflection, the behaviors of the noopHandler are implied by the non-existence of properties on the handler. This is all excellent and I'm really glad it's getting such deeply detailed attention. Thanks. Kris Kowal _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

