Hacker News new | ask | show | jobs
by matwood 4561 days ago
I don't even write JS much and I know 'this' is a trap question.
1 comments

It's not a trap. It's just required knowledge.

Saying you're a Javascript developer without understanding the behaviour of `this`, is like saying you're a C developer without understanding what a pointer is.