Javascript Call Apply and Bind

Javascript call method example var john = { name:’John’, age:28, presentatoin:function(style,timeOfDay){ if(style == ‘formal’){ console.log(this.name + this.age + timeOfDay) } if(style == ‘friendly’){ console.log(this.name + this.age + timeOfDay) } } } john.presentatoin(‘formal’,’Goodmorning’) var emily = { name:’Emily’, age:23, } john.presentatoin.call(emily,’friendly’,’Evening’)…