DEV Community

Play Button Pause Button
JavaScript Joel
JavaScript Joel

Posted on

TREAT JAVASCRIPT'S `THIS` AS A FUNCTION ARGUMENT

Problems with JavaScript's this are common. But changing your thinking about this as an argument to a function instead of the "current instance", can help reduce bugs.

Minute JavaScript - Apply Bind Call function methods

Be sure to subscribe for more videos like this!

Alt Text

Top comments (0)