This project is read-only.

FeatureRequest: short syntax for bind.

Topics: Language Specification
Apr 9, 2014 at 1:14 PM
it is often necessary to transmit object method as callback, and we need write code like
I think that it would be convenient to add a short syntax for this, for example like
where object->method would translate to object.method.bind(object).

What do you think about this?