> I am curious if https://github.com/zenparsing/es-function-bind would be > related, since it would allow bound function calls to be made by using > `obj::fn` while `obj.fn` would result in the unbound first class function. >
Well, for that syntax proposal, it would be `::obj.fn`. But see https://github.com/zenparsing/es-function-bind/issues/17 for some interesting semantic issues around the object identity of such an extracted method.
_______________________________________________ es-discuss mailing list es-discuss@mozilla.org https://mail.mozilla.org/listinfo/es-discuss