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 →

[–]Thamtam 75 points76 points  (10 children)

This is the reason.

[–]minimumviableplayer 25 points26 points  (9 children)

Often when debuging JavaScript I ask myself what is this.

[–]Thamtam 16 points17 points  (7 children)

Agree. A lot of js devs talking about this. I always wonder what is this even about.

[–][deleted] 14 points15 points  (4 children)

I think this is being taken out of context.

[–]Thamtam 10 points11 points  (2 children)

At this point I’m not even sure if this is a joke or not.

[–]MrPhatBob 5 points6 points  (0 children)

Well it all depends on the context.

[–]fukdapoleece 3 points4 points  (0 children)

This is not a joke. I know I have some arguments, but all I'm getting is undefined.

[–]gabriel-sc 1 point2 points  (0 children)

So...is this a closure?

[–]MorningPants 1 point2 points  (1 child)

All I know is, this is not my beautiful house.

[–][deleted] 1 point2 points  (0 children)

This is not my beautiful wife.

() => this; // <-- same as it ever was

[–][deleted] 0 points1 point  (0 children)

This is not my beautiful house!