742 Views
In JavaScript, sometimes it's desirable to reuse a function or method on a different object other than the object or prototype it was defined on. By using call(), apply() and bind(), we can easily borrow methods from different objects without having to inherit from them - a useful tool in a professional JavaScript developer's toolbox.
0 comments