Bind:
The bind() method creates a new function that, when called, has its this keyword set to the provided value,
with a given sequence of arguments preceding any provided when the new function is called.
Ex :
var person = {
firstName: 'Pradeep',
lastName: 'Kumar',
fullName: function() {
return this.firstName + ' ' + this.lastName;
}
};
var myObject = person.fullName;
var getFullName = myObject.bind(person);
console.info("Using bind(): "+getFullName());
w