Last, but certainly not least, we can actually set the value of this explicitly with call(), bind(), and apply() . The three are very similar, but it’s important to understand the minor differences.
When the new keyword is used(a constructor), this is bound to the new object being created.
Again, the value of this is set to the closest parent object the method is called on. When person.full() is invoked, inside the function this is bound to the person object. Meanwhile, w…