Tom Van Cutsem (2013-06-10T08:22:40.000Z)
github at esdiscuss.org (2013-07-12T02:27:37.742Z)
2013/6/9 Juan Ignacio Dopazo <dopazo.juan at gmail.com> > It seems like the right reasoning. The result of these operations should > be equivalent: > > ```js > obj.f(); > > let f = obj.f; > f.call(obj); > ``` These operations will still be equivalent for: - a proxy that implements both "get" and "invoke" in a consistent way. - a proxy that implements neither "get" nor "invoke" (the default will be to forward in both cases) - a proxy that subclasses DelegatingHandler [1] and only overrides "get" If a proxy implements "get" and "invoke" in ways that are not mutually consistent, then those operations will not be equivalent. But there are many, many other cases where proxies can already do similar such things. [1]: http://wiki.ecmascript.org/doku.php?id=harmony:virtual_object_api