DEV Community

0 seconds of 8 minutes, 33 secondsVolume 90%
Press shift question mark to access a list of keyboard shortcuts
00:00
00:00
08:33
 
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)

AWS Q Developer image

Your AI Code Assistant

Ask anything about your entire project, code and get answers and even architecture diagrams. Built to handle large projects, Amazon Q Developer works alongside you from idea to production code.

Start free in your IDE

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay