It's using an ES7 proposal, and it's a method bound to the instance. On Tue, Nov 10, 2015, 18:58 Rick Waldron <[email protected]> wrote:
> On Mon, Nov 9, 2015 at 8:45 PM JD Isaacks <[email protected]> wrote: > >> Considering the proposals for both concise methods and the bind operator >> I think it would be a great addition to be able to use them together. >> >> I am already seeing a lot of this: >> >> class Foo { >> bar = () => { >> // bound >> } >> buz() { >> // unbound >> } >> } >> >> >> > Can you clarify what this is, because it's not valid ES6 code. Also, > "bound" and "unbound" in what sense? In `buz`, the `this` object will be > the instance of Foo from which it's called. > > Rick > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

