DEV Community

0 seconds of 0 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
00:00
 
JavaScript Joel
JavaScript Joel

Posted on

7 2

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)

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up