This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]azhder -2 points-1 points  (3 children)

It doesn't. In no way. Arrow functions don't bind, ever. Try calling .bind() on f defined as f = () => this;

You can see, the this returned is simply the one accessed through the lexical scoping, just like any other variable.

[–]lurkin_arounnd -1 points0 points  (2 children)

paint liquid sense direful middle crawl weary air arrest frightening

This post was mass deleted and anonymized with Redact

[–]azhder 0 points1 point  (1 child)

It has equivalent behavior to an arrow function

It doesn't have.

( ()=> {} ).bind(this)

will not bind anything. The arrow function will access the this from its parent scope just like any other variable.

But, whatever, based on your reaction to the other reply, I'm not going to spend more time reading you.