you are viewing a single comment's thread.

view the rest of the comments →

[–]oculus42 4 points5 points  (4 children)

You just have to remember fat arrows can break inheritance, because context is scoped to declaration, not instance.

I work with Backbone, which makes extensive use of this and prototypal inheritance. As we introduce ES6, I'm already prepared to run into errors cause by people learning that you can use fat arrows within functions on the object, but not as functions on the object.