Call, Bind and Apply in Javascript
If you write JavaScript, you've fought this. The confusion happens because we bring mental models from languages like Java or C++, where this is tied to the class it was written in. JavaScript doesn’t
jacked.dev3 min read