DEV Community

Discussion on: 'this' keyword in JavaScript

Collapse
 
valeriavg profile image
Valeria

One can also use bind method to attach different this to a function or use call or apply to execute function with specified this.

Collapse
 
debajit13 profile image
Debajit Mallick

That's great! thank you, Valeria, I will surely try these methods also.