call(), bind() and apply() in Javascript
In Javascript, everything is an Object. In other object-oriented programming languages, the this keyword always refers to the current instance of the class. Whereas in JavaScript, the value this depends on how a function is called.
const person = {
f...
twinkalp10.hashnode.dev3 min read