Back to option 2: Redesign [[Invoke]] from https://mail.mozilla.org/pipermail/es-discuss/2013-August/032718.html ?

- André

What if we made invoke take either an identifier to call, or a got function to call? Then get+invoke would pass the "got" function.

/be
Allen Wirfs-Brock <mailto:[email protected]>
September 19, 2013 1:39 PM

Seems very unlikely. The @@hasInstance access is new so it isn't a backwards compat issue. BTW, these are static counts. For example, a typical call to ToPrimitive will only make a single such conditional invoke.

Arguably allowing a String or Number wrapper to be transparently proxied and hence work like a unproxied wrapper WRT ToPrimitive is one the reasons we need to do this.

Allen

[...]

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

Reply via email to