a new ES6 spec. draft dis available

Allen Wirfs-Brock allen at wirfs-brock.com
Mon Oct 1 10:43:23 PDT 2012


On Oct 1, 2012, at 10:06 AM, Tom Van Cutsem wrote:

> 2012/10/1 Allen Wirfs-Brock <allen at wirfs-brock.com>
> 
> I think I'm going to trying to fit all the moving parts of the Proxy mechanism (other than the more general Reflect module) into a single subsection of chapter 15.
> 
> That makes sense. From the top of my head, the only other places where proxies intervene substantially in the spec are:
> - the big refactoring of some Object internal methods ([[Get]], [[Put]], [[CanPut]] etc.).
> - built-ins like Object.keys that in ES5 didn't dispatch to a built-in [[Method]] need to either a) test and branch on Proxy arguments explicitly or b) be rewritten to dispatch to a new built-in that proxies then implement differently. I take it you prefer b) (as was done with [[Enumerate]]). I prefer b) as well.

sounds about right

Allen

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20121001/4c85afbb/attachment.html>


More information about the es-discuss mailing list